Why Sequel::Dataset#exists returns result as String? Is it desing
feature or inattentiveness?
For example we can't do this directly:
existsA = DB[some query].exists
existsB = DB[some query].exists
DB.select(existsA, existsB)
Or this:
exitsA.as(:is_a_exists)
There are, of course, workaround, we can call exists.lit and then
previous examples will work, but I think exists should return literal
or something like this directly.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---