(self)
| 3069 | ) |
| 3070 | |
| 3071 | async def test_sql_native_query_02(self): |
| 3072 | await self.assert_sql_query_result( |
| 3073 | """ |
| 3074 | SELECT |
| 3075 | "Movie".title, |
| 3076 | "Genre".name AS genre |
| 3077 | FROM |
| 3078 | "Movie", |
| 3079 | "Genre" |
| 3080 | WHERE |
| 3081 | "Movie".genre_id = "Genre".id |
| 3082 | AND "Genre".name = $1::text |
| 3083 | AND length("Movie".title) > $2::int |
| 3084 | ORDER BY |
| 3085 | title |
| 3086 | """, |
| 3087 | [ |
| 3088 | { |
| 3089 | "title": "Saving Private Ryan", |
| 3090 | "genre": "Drama", |
| 3091 | } |
| 3092 | ], |
| 3093 | variables={ |
| 3094 | "1": "Drama", |
| 3095 | "2": 14, |
| 3096 | }, |
| 3097 | apply_access_policies=False, |
| 3098 | ) |
| 3099 | |
| 3100 | async def test_sql_native_query_03(self): |
| 3101 | # No output at all |
nothing calls this directly
no test coverage detected