in reply to What Do Monks Think of SQL Query Builders?
My approach is that I hate all query builders, as I always end up fighting them to get the SQL I want.
I prefer to write and test my SQL separately from Perl and having an ORM or query builder between me and the database is one more ugly layer to debug.
My use case might not be your use case though, because I usually have several (left) joins and like to use SQL window functions or subselects to select interesting rows from the database. All query builders I've seen don't handle subselects or window functions well, and they all make it impossible to get at the SQL before running the program.
My advice would be to get more familiar with SQL as it is quite a versatile tool, but if you don't use SQL that often, I understand that a Perl wrapper is more alluring.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What Do Monks Think of SQL Query Builders?
by Mr. Muskrat (Canon) on Feb 09, 2017 at 19:43 UTC | |
|
Re^2: What Do Monks Think of SQL Query Builders?
by nysus (Parson) on Feb 09, 2017 at 18:20 UTC | |
by LanX (Saint) on Apr 29, 2017 at 23:34 UTC | |
|
Re^2: What Do Monks Think of SQL Query Builders?
by nysus (Parson) on Feb 08, 2017 at 15:53 UTC |