Skip to content

feat(database): add firstValues and firstRecord, and driver typed par… - #30

Merged
lmxrd merged 1 commit into
mainfrom
feat/database/migration
Oct 12, 2026
Merged

lmxrd merged 1 commit into
mainfrom
feat/database/migration

Conversation

@lmxrd

@lmxrd lmxrd commented Oct 12, 2026

Copy link
Copy Markdown
Owner

…ameters

Replace first() with firstValues() and firstRecord(), mirroring toValues() and toRecords(), so the first row can be taken in either representation. Both consume the result, like the other row reads.

Type the query parameters of the client level by driver, with the standard SqlClient generic over the driver's parameter types; the SQLite driver extends them with Dates, bound as ISO 8601 strings.

Export the package root, re-exporting the SQL interface with the drivers as namespaces.

…ameters

Replace first() with firstValues() and firstRecord(), mirroring
toValues() and toRecords(), so the first row can be taken in either
representation. Both consume the result, like the other row reads.

Type the query parameters of the client level by driver, with the
standard SqlClient generic over the driver's parameter types; the
SQLite driver extends them with Dates, bound as ISO 8601 strings.

Export the package root, re-exporting the SQL interface with the
drivers as namespaces.
@lmxrd
lmxrd merged commit d082e3e into main Oct 12, 2026
6 checks passed
@lmxrd
lmxrd deleted the feat/database/migration branch October 12, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant