{"library":"5no-pg-model","type":"library","category":null,"description":"A JavaScript ORM for PostgreSQL that provides a declarative schema definition, automatic query building, and relation handling including one-to-one, one-to-many, and join relationships. Version 1.3.1 is the last release under the 5no-pg-model package; it has been renamed to @5no/pg-model. The library supports Node 8+ and uses @5no/pg-builder for query generation and @5no/schema for schema validation. It offers auto-filling fields for created/updated timestamps, cascade operations on relations, and a Manager for CRUD operations. Differentiates from heavier ORMs like Sequelize by being lightweight and focused on PostgreSQL only, with a minimal API surface.","language":"javascript","status":"renamed","version":"1.3.1","tags":["javascript","postgresql","sql","query","builder","orm","model"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install 5no-pg-model","imports":["const { Manager } = require('@5no/pg-model')","const { Model } = require('@5no/pg-model')","const Manager = require('@5no/pg-model').Manager; const builder = Manager.build(ModelInstance).builder()"]},{"cmd":"yarn add 5no-pg-model","imports":[]},{"cmd":"pnpm add 5no-pg-model","imports":[]}],"homepage":"https://5no.io","github":"https://github.com/reb2020/5no-pg-model","docs":null,"changelog":null,"pypi":null,"npm":"5no-pg-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}