{"library":"gatepost","type":"library","category":null,"description":"Gatepost is a reverse ORM for PostgreSQL that binds SQL statements to Model factories and instances, casting results as Model instances without modeling the database schema. It relies on VeryModel for model validation and allows flexible SQL generation via knex, template strings, or raw queries. Current stable version is 7.2.0. Unlike traditional ORMs, Gatepost focuses on query results rather than table structures. It uses Promises and supports caching. Release cadence is irregular. Key differentiators: schema-agnostic, compatible with knex, and uses VeryModel for validation.","language":"javascript","status":"active","version":"7.2.0","tags":["javascript","pg","postgres","postgresql","database","db","orm","query","sql"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install gatepost","imports":["import Gatepost from 'gatepost'","const gatepost = require('gatepost')(connectionString); const Book = new gatepost.Model(options);","const { EmptyResult } = Gatepost;"]},{"cmd":"yarn add gatepost","imports":[]},{"cmd":"pnpm add gatepost","imports":[]}],"homepage":"https://github.com/fritzy/gatepost","github":"git://github.com/fritzy/gatepost","docs":null,"changelog":null,"pypi":null,"npm":"gatepost","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}