{"library":"pg-slang","type":"library","category":null,"description":"Converts informal SQL SELECT statements (e.g., \"SELECT 'food name', 'calcium' FROM 'apples'\") into formal SQL (e.g., \"SELECT 'name', 'ca', 'ca_e' FROM 'compositions' WHERE ...\") via a user-supplied mapping function. Version 0.2.6, low release cadence. Key differentiator: decouples user-facing informal queries from actual schema by delegating mapping to an external callback, enabling dynamic column/table resolution against a database or dictionary.","language":"javascript","status":"active","version":"0.2.6","tags":["javascript","pg","slang","sql","select","informal","formal","table","column"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-slang","imports":["import slang from 'pg-slang'","const slang = require('pg-slang')","import slang from 'pg-slang'"]},{"cmd":"yarn add pg-slang","imports":[]},{"cmd":"pnpm add pg-slang","imports":[]}],"homepage":"https://github.com/nodef/pg-slang#readme","github":"https://github.com/nodef/pg-slang","docs":null,"changelog":null,"pypi":null,"npm":"pg-slang","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}