Using mysql-do-adapter I am trying to do a query using a regex
condition:

//select all programs that start with a number
programs = Program.all(:name.regexp => '^[0-9]')

But this does not yield a query (from what I can see in the debug log)
and hence no results.

Looking at the source for mysql-do-adapter there does seem to be
support for that filter:
https://github.com/datamapper/dm-mysql-adapter/blob/master/lib/dm-mysql-adapter/adapter.rb#L29

Any clues why this is not working?

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to