Skip to content

Commit

Permalink
docs(changeset): Move SQL construction to runtime rather than plantim…
Browse files Browse the repository at this point in the history
…e. Get rid of

`textForSingle` since we compile the SQL at runtime so we don't need to handle
both cases. Add `$pgSelect.deferredSQL()` API to allow plans to yield (safe,
thanks to pg-sql2) SQL to be composed into the query at runtime.
  • Loading branch information
benjie committed Jan 18, 2025
1 parent 8023933 commit 07a5469
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/slow-ghosts-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@dataplan/pg": patch
---

Move SQL construction to runtime rather than plantime. Get rid of
`textForSingle` since we compile the SQL at runtime so we don't need to handle
both cases. Add `$pgSelect.deferredSQL()` API to allow plans to yield (safe,
thanks to pg-sql2) SQL to be composed into the query at runtime.

0 comments on commit 07a5469

Please sign in to comment.