(self)
| 3041 | ) |
| 3042 | |
| 3043 | async def test_sql_native_query_01(self): |
| 3044 | await self.assert_sql_query_result( |
| 3045 | """ |
| 3046 | SELECT |
| 3047 | "Movie".title, |
| 3048 | "Genre".name AS genre |
| 3049 | FROM |
| 3050 | "Movie", |
| 3051 | "Genre" |
| 3052 | WHERE |
| 3053 | "Movie".genre_id = "Genre".id |
| 3054 | AND "Genre".name = 'Drama' |
| 3055 | ORDER BY |
| 3056 | title |
| 3057 | """, |
| 3058 | [ |
| 3059 | { |
| 3060 | "title": "Forrest Gump", |
| 3061 | "genre": "Drama", |
| 3062 | }, |
| 3063 | { |
| 3064 | "title": "Saving Private Ryan", |
| 3065 | "genre": "Drama", |
| 3066 | }, |
| 3067 | ], |
| 3068 | apply_access_policies=False, |
| 3069 | ) |
| 3070 | |
| 3071 | async def test_sql_native_query_02(self): |
| 3072 | await self.assert_sql_query_result( |
nothing calls this directly
no test coverage detected