On Apr 17, 4:55 am, akhil <[email protected]> wrote:
> Hi,
>
> For a few days now I have been running into problems with sequel code
> which was working earlier after in introduces facets.
> when using "~:hashtag" in filter instead of negating it it refers to
> column '~hashtag'
> Similarly when using  '|' in filter the query generated is 'and'.
> But i get no such problem with I use functions like or instead of '|'
>
> I have not tried with later versions for sequel though.
>
> After removing the facets the issues are all gone
>
> Has anyone faced any such problems and workarounds?

Facets probably adds the same methods to Symbol that Sequel does, in
which case you can't use Sequel's methods.  So either use Facets and
don't use those methods directly on Symbol, or don't use Facets.  If
you choose to use Facets, You can always call the identifier method on
the symbol before the ~ and | methods (e.g. ~:hashtag.identifier),
which should work.

Jeremy

-- 
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.

Reply via email to