Copy link
@favna

favna Sep 26, 2021

Member

Rewrite this to use some more basic SQL statement. Something along the lines of:

return this.some(await container.database.query(/* sql */`SELECT something FROM example WHERE user_id=$1 AND channel_id=$2`)

Fill out that something. I don't know what this prisma query is supposed to return.