Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3518 > unrolled thread
| Started by | Chris Gunnels <rfsllc@gmail.com> |
|---|---|
| First post | 2011-04-26 10:46 -0500 |
| Last post | 2011-04-26 10:46 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.ruby
Set BINARY attribute for a datamapper query? Chris Gunnels <rfsllc@gmail.com> - 2011-04-26 10:46 -0500
| From | Chris Gunnels <rfsllc@gmail.com> |
|---|---|
| Date | 2011-04-26 10:46 -0500 |
| Subject | Set 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/.
Back to top | Article view | comp.lang.ruby
csiph-web