I get an error on the following query:

a = DR[:company_t].where(Sequel.ilike(:company_name, '%Tru%') & (status: 
'active'))


The error:

syntax error, unexpected tLABEL
...mpany_name, '%Tru%') & (*status*: 'active'))

status is a field name.  

According to the Queries documentation page, this is apparently good.  

Artist.where(Sequel.like(:name, 'Y%') & (Sequel[{b: 1}] | Sequel.~(c: 3)))


Any insight as to why this is tripping?  It doesn't like my fieldname.  

Cheers

-- 
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/9345d12c-7b76-40f0-956e-bf2fd1413e53%40googlegroups.com.

Reply via email to