in reply to Re^2: What Do Monks Think of SQL Query Builders?
in thread What Do Monks Think of SQL Query Builders?

Thanks for the link, but it should be noted that ORM and query builder are 2 different things.

ORM wrap DB tables with classes, rows are objects and columns attributes.

This can be handy, but you are limiting your universe, because it's mathematically impossible to cover all possibilities of SQL that way. (Aka "the Object/Relational Impedance Mismatch")

A query builder on the other hand creates SQL, and this not necessarily for an ORM.

Query builders are limited by their grammar, this depends on their implementation.

But there is no theoretical or practical reason why they shouldn't cover the whole spectrum of a relational language.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re^3: What Do Monks Think of SQL Query Builders?