{"library":"bs-sql-common","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","BuckleScript","reason","reasonml","mysql","databases","node"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install bs-sql-common","imports":["let Sql = SqlCommon.Make(MySql2)","Sql.Response.Select.flatMap(decoder)","Sql.Params.positional(...) or Sql.Params.named(...)"]},{"cmd":"yarn add bs-sql-common","imports":[]},{"cmd":"pnpm add bs-sql-common","imports":[]}],"homepage":"https://github.com/scull7/bs-sql-common","github":"git@github.com:scull7/bs-sql-common","docs":null,"changelog":null,"pypi":null,"npm":"bs-sql-common","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}