Sand.js MySQL Grain
JSON →MySQL wrapper for Sand.js applications providing convenience functions like autoloading config, automatic connection cleanup, and promise-based querying. Current version 2.2.6 (stable, no recent updates). Wraps node-mysql with built-in query, selectOne, insert, and update builders. Automatically attaches to sand.ctx.mysql when sand-http is loaded, managing connection lifecycle per request. Config via config/mysql.js file. Key differentiator: tight Sand.js integration with automatic context injection; no direct MySQL driver usage—user relies on sand infrastructure.