Syntactic Confectionery Delight | |
PerlMonks |
SQL::Abstract-ing subqueriesby Anonymous Monk |
on Feb 03, 2017 at 18:57 UTC ( [id://1181007]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, I'm trying to find the best way to represent an SQL query using SQL::Abstract (actually SQL::Abstract::More via DBIx::DataModel; SQL::Abstract is also used by DBIx::Class). Unfortunately there is not a great deal of information on constructing SQL queries that fall outside the bounds of the usual 'SELECT * FROM x WHERE ...' using SQL::Abstract. My ideal query:
...where $user_id and $rec_id (or other WHERE criteria) are supplied by the Perl code. Has anyone used SQL::Abstract for this kind of query? Thanks!
Back to
Seekers of Perl Wisdom
|
|