...and is there any overhead on splitting them up into compound ".where..." 
clauses?

On Tuesday, August 4, 2020 at 1:07:31 PM UTC-4 [email protected] wrote:

> Even larger, this follows the block and internal qualifiers, but has an 
> undefined method '&':
>
> where{{pcid: freebies_array} & 
> (listing[:product_name].ilike(submitted.to_s)) & {listing[:status] => 
> 'active'}}.
>
> Doesn't say which ampersand is the issue.  First qualifier there is "pcid 
> IN <array>"
>
> On Tuesday, August 4, 2020 at 12:52:07 PM UTC-4 Jeremy Evans wrote:
>
>> On Tuesday, August 4, 2020 at 9:49:15 AM UTC-7, [email protected] wrote:
>>>
>>> How do you combine multiple items in a virtual row block?
>>>
>>> where{{listing[:product_name].ilike(submitted.to_s), listing[:status] => 
>>> 'active'}}.
>>>
>>
>> where{listing[:product_name].ilike(submitted.to_s) & {listing[:status] => 
>> 'active'}}
>>
>> 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/d0f9e08a-160f-435e-8c11-eeea6fc75341n%40googlegroups.com.

Reply via email to