how to search for exact string in Ruby -
what ruby code equivalent following mysql query? i'm trying search exact match of string eg.'main' , 'main' should treat different.
select userid sys_users binary userid='main'
it's like:
sysuser.select('userid').where('binary userid=?', 'main')
Comments
Post a Comment