SELECT WHERE IN query in raw sql

Hi, I’m trying to do a SELECT statement that has a WHERE id IN [array] part, but I can’t seem to pass a list or anything similar as the value to the query statement.

async def get_ids(self):
rows = await self.database.fetch_all(
query=“SELECT * FROM table WHERE id IN (:ids);”,
values={“ids”: [123]},
)

This statement (or something like it) should work but I keep getting an error saying that the “ids” value needs to be an int, since the value for that column is bigint. Anyone find a solution to this? Any help would be appreciated. Thank you!