bs-sql-common

JSON →
library 6.0.0 ·javascript
verified Jun 5, 2026

Common interface for SQL-based Node.js drivers (MySQL, PostgreSQL, sqlite) in BuckleScript/ReasonML. Version 6.0.0 exposes a Functor that accepts any module implementing the Queryable interface, using Belt.Result for responses. Key differentiators: provides a consistent API across SQL backends, response decoding/inspection functions, a large integer ID type (encoded as strings), batch inserts/queries, and parameter substitution with named placeholders. Designed for the ReasonML/BuckleScript ecosystem, not plain JavaScript.