4 ms·
While the scenario you present is a legitimate reason for using a query builder, it doesn't justify the investment in using a query builder for the vast majorit
by Dowwie 6y ago
While the scenario you present is a legitimate reason for using a query builder, it doesn't justify the investment in using a query builder for the vast majority of db calls. The edge case is not an appropriate goal to impose the cost of using a DSL for the majority of cases. Instead, custom roll an implementation for those complicated calls and stick with a parameterized sql library.