[Dbix-class] Search::Query::Dialect::DBIxClass

Alexander Hartmaier alexander.hartmaier at t-systems.at
Mon Oct 29 15:53:13 GMT 2012


I've just released Search::Query::Dialect::DBIxClass to CPAN [1].
It uses Search::Query to parse a query string and transforms it into a hash=
ref than can be passed to $rs->search(_rs).
The Search::Query::Parser synopsis shows the valid operators and prefixes.

You can use it to enable users to search the database with an easy to under=
stand syntax wheter is be a web or cli app.

More test cases and features are welcome!

A great thank you to John Napiorkowski for Test::DBIx::Class, especially it=
s example schema that saved me more time than it took to write the whole mo=
dule with docs and tests!

[1] https://metacpan.org/module/Search::Query::Dialect::DBIxClass

--
Best regards, Alex (abraxxa)


*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*=
"*
T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*=
"*
Notice: This e-mail contains information that is confidential and may be pr=
ivileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*=
"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20121029/9c2=
3d50c/attachment.htm


More information about the DBIx-Class mailing list