On Friday, April 24, 2020 at 2:03:10 PM UTC-7, Dennis O'Connell wrote:
>
> Hello
>
> Is it possible to write or convert this query to Sequel? Or should I put 
> as RAW SQL?
>
> select *
> from members t
> where data @? '$.alternate_emails[*] ? (@ like_regex ".*dennis.*")'
>
>
> I couldn't find any documentation for query like this. I know, a bit 
> complicated tho...
>

You should probably use raw SQL.  Sequel doesn't have DSL support for 
XQuery syntax.  BTW, which database are you using that supports XQuery?

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/eb925756-cb91-486d-b5c1-56bf0e7e6754%40googlegroups.com.

Reply via email to