@scruple/relational-databases
v0.3.4
Published
Semantic rules for relational database access.
Maintainers
Readme
@scruple/relational-databases
Checks for relational database work that joins query results in memory, queries once per item, escapes a transaction-scoped client, or paginates without visible ordering.
pnpm add --save-dev @scruple/relational-databasesRules review in-memory joins, per-item queries, transaction-scoped clients, and deterministic pagination order for recognizable relational database APIs. Pagination selection uses structured option keys and static SQL query text rather than arbitrary source substrings. Transaction checks can follow direct local aliases for a database client. They do not assume that a helper returns or uses the transaction-scoped client when the helper's behavior is not visible.
Follow the published quickstart, browse the rule registry, compare providers, or write a custom rule.
