Closed albulescu closed 7 months ago
Is How to construct dynamic condition? what you are looking for?
Cool, @houten11 any support for postgres jsonb
like t.props->>'key' = 'value'
in where clause?
No, but you can use Raw Expressions instead:
RawBool("t.props->>'key' = 'value'")
// or
RawBool("t.props->> $k = $v", RawArg{"$k":"key", "$v": "value"})
// or
RawString("t.props->> $k", RawArg{"$k":"key"}).EQ(String("value"))