K
Kysely3mo ago
lcasdev

How can I use `->>` and `->` operators with ExpressionBuilder?

I have tried doing eb(ref("table.column"), "->", eb.lit("foo")), but this does not work because "->" is not recognized as a valid operator. How do I do this without using raw SQL templates?
Solution:
Ah, ref("table.column", "->>").key("foo").
Jump to solution
1 Reply
Solution
lcasdev
lcasdev3mo ago
Ah, ref("table.column", "->>").key("foo").

Did you find this page helpful?