Using raw SQL with `or` where
I have been using the raw SQL template tag to work with certain JSON columns and wanted to add a
I can pass
orWhere clause using it. Here is a simple example of what I am trying to achieve. I can pass
sql literal to the where clause directly, but in this case I want to write or whereSolution
And you're right,
eb.or expects a list of Expression<SqlBool> where SqlBool is boolean | 0 | 1