(self)
| 140 | self.assertEqual(res, [['Report (new)']]) |
| 141 | |
| 142 | async def test_sql_dml_insert_03(self): |
| 143 | # multiple rows at once |
| 144 | await self.scon.execute( |
| 145 | ''' |
| 146 | INSERT INTO "Document" (title) VALUES ('Report'), ('Briefing') |
| 147 | ''' |
| 148 | ) |
| 149 | res = await self.squery_values('SELECT title FROM "Document"') |
| 150 | self.assert_data_shape( |
| 151 | res, tb.bag([['Report (new)'], ['Briefing (new)']]) |
| 152 | ) |
| 153 | |
| 154 | async def test_sql_dml_insert_04(self): |
| 155 | # using arbitrary query instead of VALUES |
nothing calls this directly
no test coverage detected