understood, yeah I meant to say that import has an interface where you can 
specify the columns and the values to check against, and was wondering if 
there was something similar for where, but the Sequel.| looks good.

Thanks!
Aryk



On Wednesday, June 14, 2017 at 7:15:13 AM UTC-7, Jeremy Evans wrote:
>
> On Wednesday, June 14, 2017 at 6:21:15 AM UTC-7, Aryk Grosz wrote:
>>
>> I was curious what was the recommended way to lookup sets of conditions.
>>
>> I know you can do Klass.where().or().or().or(), but say there is an 
>> #import function that takes columns and values.
>>
>> Was wondering if there was an equivalent for where + or?
>>
>
> If you want to combine multiple conditions with OR:
>
>   where(Sequel.|(cond1, cond2, cond3)) 
>
> I don't get the usage with #import, as that uses INSERT and there is no 
> WHERE clause in an INSERT statement.
>
> 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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to