6 Replies
.where(sql`'myvariable' = ANY(${mycolumn})`)
I guess myvariable also should be in ${}
.where(sql`${myvariable} = ANY(${mycolumn})`)
yeah that's what I did but was wondering if there was a more native way
got it
you can make a helper function
oh true