(self)
| 3168 | ) |
| 3169 | |
| 3170 | async def test_sql_native_query_08(self): |
| 3171 | with self.assertRaisesRegex( |
| 3172 | edgedb.errors.QueryError, |
| 3173 | 'duplicate column name: `x_a`', |
| 3174 | _position=92, |
| 3175 | ): |
| 3176 | await self.assert_sql_query_result( |
| 3177 | ''' |
| 3178 | WITH |
| 3179 | x(a) AS (VALUES (2)) |
| 3180 | SELECT 1 as x_a, * FROM x, x |
| 3181 | ''', |
| 3182 | [], |
| 3183 | ) |
| 3184 | |
| 3185 | async def test_sql_native_query_09(self): |
| 3186 | await self.assert_sql_query_result( |
nothing calls this directly
no test coverage detected