MCPcopy Index your code
hub / github.com/geldata/gel / test_sql_dml_insert_01

Method test_sql_dml_insert_01

tests/test_sql_dml.py:111–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 ]
110
111 async def test_sql_dml_insert_01(self):
112 # base case
113 await self.scon.execute(
114 '''
115 INSERT INTO "Document" (title) VALUES ('Meeting report')
116 '''
117 )
118 res = await self.squery_values('SELECT title FROM "Document"')
119 self.assertEqual(res, [['Meeting report (new)']])
120
121 async def test_sql_dml_insert_02(self):
122 # when columns are not specified, all columns are expected,

Callers

nothing calls this directly

Calls 2

executeMethod · 0.80
squery_valuesMethod · 0.80

Tested by

no test coverage detected