in reply to DBIx::Class : match integer-cols having specific bits set
Greetings brother bliako,
Generally, to signify that the RHS in a where subclause is a column identifier, use -ident.
producesmy %where = ( foo => 'bar', baz => { -ident => 'qux' }, );
where foo = "bar" and baz = qux
Also note that you can supply literal SQL using a reference to a string.
Sorry, IDK about your bitwise issue.
See the doc for SQL::Abstract, which DBIx uses behind the scenes.
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBIx::Class : match integer-cols having specific bits set
by bliako (Abbot) on Sep 29, 2020 at 05:44 UTC |