Discussion:
[Mojolicious] Using JSON expression in Pg::Mojo selects
Alex Povolotsky
2018-10-17 20:58:05 UTC
Permalink
Hello

Is there any way to write

select * from table where (jsonfield->'x')::numeric > 0

as $pg->db->select(...) or I have to write it only like query?
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
Loading...