Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Objection.js vs peewee: What are the differences?

Objection.js: It is an ORM for Node.js. It aims to stay out of your way and make it as easy as possible to use the full power of SQL and the underlying database engine while still making the common stuff easy and enjoyable; peewee: A small, expressive ORM -- supports postgresql, mysql and sqlite. A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore.

Objection.js and peewee can be categorized as "Object Relational Mapper (ORM)" tools.

Objection.js and peewee are both open source tools. peewee with 6.72K GitHub stars and 1.11K forks on GitHub appears to be more popular than Objection.js with 4.26K GitHub stars and 344 GitHub forks.

Jacobsen og Svart, 下厨房, and CozyCal Scheduling are some of the popular companies that use peewee, whereas Objection.js is used by Tuup Oy, Habx, and Welltory. peewee has a broader approval, being mentioned in 4 company stacks & 14 developers stacks; compared to Objection.js, which is listed in 5 company stacks and 4 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More

Need advice about which tool to choose?Ask the StackShare community!

What are some alternatives to ?
Sequelize
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
TypeORM
It supports both Active Record and Data Mapper patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high quality, loosely coupled, scalable, maintainable applications the most productive way.
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
PostgreSQL
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.