{"repo":"dresende/node-orm2","free":true,"listed":false,"github":"https://github.com/dresende/node-orm2","clone":"git clone https://github.com/dresende/node-orm2.git","description":"Object Relational Mapping","language":"JavaScript","stars":3045,"topics":["database","orm","mysql","postgresql","redshift","sqlite","mongodb"],"license":"MIT","category":"databases-storage","readme_excerpt":"Object Relational Mapping This package is not actively maintained If you're starting a new project, consider using one of the following instead as they have a more active community: https://github.com/typeorm/typeorm https://github.com/sequelize/sequelize Install Node.js Version Support Supported: 4.0 + If using Nodejs = 14 & Postgres, you must use pg driver = 8.1. v7 doesn't work correctly (tests time out). Tests are run on Travis CI If you want you can run tests locally: DBMS Support - MySQL & MariaDB - PostgreSQL - Amazon Redshift - SQLite - MongoDB (beta, node 6 or older, doesn't work with node 8. Also, missing aggregation features) Features - Create Models, sync, drop, bulk create, get, find, remove, count, aggregated functions - Create Model associations, find, check, create and remove - Define custom validations (several builtin validations, check instance properties before saving - see enforce for details) - Model instance caching and integrity (table rows fetched twice are the same object, changes to one change all) - Plugins: MySQL FTS , Pagination , Transaction, Timestamps, Migrations Introduction This is a node.js object relational mapping module. An example: ------- Express If you're using Express, you might want to use the simple middleware to integrate more easily. You can call orm.express more than once to have multiple database connections. Models defined across connections will be joined together in req.models . Don't forget to use it before app.use(app.rout","default_branch":null,"files":null,"tree":[],"storefront":"/r/dresende","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dresende/node-orm2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}