Get a debug representation of the query with values inline WARNING: This is for debugging only. Never execute the returned string directly.
Get bindings in the format expected by Knex. Knex expects a flat array where both identifiers and values are mixed in order.
function that resolves an entity field name to its database column name
StaticconcatConcatenate multiple SQL fragments with space separator. Useful for combining SQL clauses like WHERE, ORDER BY, etc.
StaticjoinJoin multiple SQL fragments with a comma separator. Useful for combining column lists, value lists, etc.
Array of SQL fragments to join
SQL Fragment class that safely handles parameterized queries.