Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3518 > unrolled thread

Set BINARY attribute for a datamapper query?

Started byChris Gunnels <rfsllc@gmail.com>
First post2011-04-26 10:46 -0500
Last post2011-04-26 10:46 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.ruby


Contents

  Set BINARY attribute for a datamapper query? Chris Gunnels <rfsllc@gmail.com> - 2011-04-26 10:46 -0500

#3518 — Set BINARY attribute for a datamapper query?

FromChris Gunnels <rfsllc@gmail.com>
Date2011-04-26 10:46 -0500
SubjectSet BINARY attribute for a datamapper query?
Message-ID<47d2d6aba05018a39a7d39b4bf97f79e@ruby-forum.com>
Does anyone know how to add the attribute BINARY to a datamapper query?

This is the sql I want datamapper to produce, but I can't find it in any
of the docs:

select * from table_name where BINARY name like "Code"


Sample datamapper query:
ClassName.all({:name => "Code"})

Right now I am getting all records that match "code" and "Code". I don't
want to change the column to a binary column.

Thanks,
Chris

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [standalone]


Back to top | Article view | comp.lang.ruby


csiph-web