Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFilter with a list of tuple #550
Comments
|
Postgres does not support input of anonymous tuple types. That said, asyncpg should handle this better. |
|
So, what would be the equivalent of |
|
If you can afford it, create an explicit composite type:
and then
|
the issue with a local PostgreSQL install?: no
uvloop?:
I'm trying to fetch records based on a list of tuple but I keep getting:
asyncpg.exceptions._base.InternalClientError: could not resolve query result and/or argument types in 6 attemptHere is the request:
SELECT id from my_table where (label, user_id)::record = any($1::record[])(where $1 is a list of tuple)