No, I a'recon I don't now, because I found this...

 :conditions => ["m_to ILIKE ?", user]

It only works in posgresql though...


On Fri, Jul 9, 2010 at 12:54 PM, Yuri Smirnov <[email protected]> wrote:
> I don't think it's possible atm, and do you *really* need to use these
> functions in your request?
>
> 2010/7/9 Dennis Nedry <[email protected]>
>>
>> Sorry if this is a silly question, but I've looked and I can't find the
>> answer.
>>
>> Is there a way to do the equivalent of upper() or lower() SQL in
>> datamapper?
>>
>> Thanks,
>>
>> Dennis
>>
>> --
>> 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.
>>
>
> --
> 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.
>



-- 
"I have a feeling that you're riding for some kind of a terrible,
terrible fall.  But I don't honestly know what kind.... It may be the
kind where, at the age of thirty, you sit in some bar hating everybody
who comes in looking as if he might have played football in college.
Then again, you may pick up just enough education to hate people who
say, 'It's a secret between he and I.'  Or you may end up in some
business office, throwing paper clips at the nearest stenographer.  I
just don't know."

 ~Mr. Antolini, The Catcher in the Rye

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