The fluent builders are intended for teams that want readable query composition without giving up SQL control.
The current builder surface supports:
FROM and JOINUNION, UNION ALL, INTERSECT, and EXCEPTWHERE EXISTS and WHERE IN subquery helpersHAVINGRETURNINGThe builders keep SQL text and parameter values separate.
For PostgreSQL, ? placeholders are mapped to $1, $2, $3, and so on before execution.
SqliteQueryBuilderPostgresQueryBuilderQueryBuildResultQueryRunResultaggUse the builder when you want:
Use raw SQL fragments only when the query shape goes beyond what the fluent API currently models cleanly.