I've got a query like: select table1.* from table1 inner join table2 on table2.table1_id = and (table2.name ilike '%blah %' or table2.name ilike '%foo%')
How can I write this in Sequel syntax? I know I can use Dataset#grep to add conditions to the "where" clause, but not sure how to add conditions to the join on clause. Thanks, Joe -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
