Gatepost

JSON →
library 7.2.0 ·javascript
verified Jun 5, 2026

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.