Em 26-04-2012 14:24, Rodrigo Rosenfeld Rosas escreveu:
...
By the way, I don't like the idea of adding extensions to core classes, so I stopped using MongoMapper and I'm requiring Sequel without the core extensions.

I can't seem to find much documentation on how to do certain things without those query extensions. For example, see the equivalent codes:

where('email is not null')
where{~ {email: null} }

How to do the above without enabling the core extensions?

Nevermind, I've just found looking at the source code:

where{~ Sequel.expr(email: null) }

But please take a look at the as/alias proposed API.

Thanks,
Rodrigo.

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