Hi Jeremy,
A while ago you added the =~ and !~ operators
<https://github.com/jeremyevans/sequel/commit/2081f746812757039f79c6132a718b9cb682f048>
to
GenericExpressions. I was just wondering, why didn't you also add it to
Expressions or ComplexExpressions (or some further subclass)? For example,
I noticed that the following code won't work:
DB[:movies].where{date.extract(:year) =~ 2015}
I was thinking that it would make sense to have it always default to "=" in
SQL.
--
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 http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.