Knex.js Alternatives

Knex.js is described as 'A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use' and is an app in the development category. There are more than 10 alternatives to Knex.js for a variety of platforms, including Self-Hosted, Mac, Windows, Linux and npm apps. The best Knex.js alternative is Prisma ORM, which is both free and Open Source. Other great apps like Knex.js are Mongoose, Hibernate, RedBeanPHP and PowerLite PDO.

Copy a direct link to this comment to your clipboard
Knex.js alternatives page was last updated

Alternatives list

  1. Prisma ORM icon
     10 likes
    Copy a direct link to this comment to your clipboard

    Prisma unlocks a new level of developer experience when working with databases thanks to its intuitive data model, automated migrations, type-safety & auto-completion.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
     
    • Prisma ORM is the most popular Self-Hosted alternative to Knex.js.

    • Prisma ORM is the most popular Open Source & free alternative to Knex.js.

    • Prisma ORM is Free and Open SourceKnex.js is also Free and Open Source
  2. Mongoose icon
     18 likes
    Copy a direct link to this comment to your clipboard

    Mongoose is easy to use web server. It also can be used as embedded web server library to provide web interface to applications.

    Cost / License

    • Free Personal
    • Proprietary

    Application type

    Platforms

    • Self-Hosted
     
  3. Hibernate icon
     10 likes
    Copy a direct link to this comment to your clipboard

    Hibernate an open source Java persistence framework project. Perform powerful object relational mapping and query databases using HQL and SQL.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
     
    • Hibernate is the most popular Windows, Mac & Linux alternative to Knex.js.

    • Hibernate is Free and Open SourceKnex.js is also Free and Open Source
  4. RedBeanPHP icon
     6 likes
    Copy a direct link to this comment to your clipboard

    RedBeanPHP is an easy to use ORM for PHP. It's a Zero Config ORM lib that 'automagically' builds your database schema.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
     
  5. Copy a direct link to this comment to your clipboard

    PowerLite PDO is a DBAL PDO Wrapper, a lightweight and powerful PHP library that provides an efficient way to interact with multiple types of databases.

    Cost / License

    • Free
    • Open Source

    Platforms

    • PHP
    • Self-Hosted
     
  6. JDBI icon
     1 like
    Copy a direct link to this comment to your clipboard

    JDBI is a SQL convenience library for Java. It attempts to expose relational database access in idiommatic Java, using collections, beans, and so on, while maintaining the same level of detail as JDBC.

    Cost / License

    • Free
    • Proprietary

    Platforms

    • Mac
    • Windows
    • Linux
     
  7.  2 likes
    Copy a direct link to this comment to your clipboard

    Use SchemaDB to manage Database Schema and Records directly from PHP code without using PhpMyAdmin.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
     
  8.  1 like
    Copy a direct link to this comment to your clipboard

    SQLAlchemy is an open source SQL toolkit and object-relational mapper (ORM) for the Python programming language.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • Online
     
    • SQLAlchemy is the most popular Web-based alternative to Knex.js.

    • SQLAlchemy is Free and Open SourceKnex.js is also Free and Open Source
  9. Sequelize icon
     Like
    Copy a direct link to this comment to your clipboard

    Sequelize is a modern TypeScript and Node.js ORM for Oracle, Postgres, MySQL, MariaDB, SQLite and SQL Server, and more. Featuring solid transaction support, relations, eager and lazy loading, read replication and more.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
    • npm
     
  10. Cycle ORM icon
     Like
    Copy a direct link to this comment to your clipboard

    Cycle ORM from Spiral Scout provides a clean and simplified approach to object-relational mapping in PHP, designed with the developer in mind.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Online
    • Self-Hosted
    • Software as a Service (SaaS)
     
    • Cycle ORM is the most popular SaaS alternative to Knex.js.

    • Cycle ORM is Free and Open SourceKnex.js is also Free and Open Source
  11. Copy a direct link to this comment to your clipboard

    Bookshelf is a JavaScript ORM for Node.js, built on the Knex SQL query builder. It features both Promise-based and traditional callback interfaces, transaction support, eager/nested-eager relation loading, polymorphic associations, and support for one-to-one, one-to-many, and...

    Cost / License

    • Free
    • Open Source

    Platforms

    • Self-Hosted
    • Node.JS
    • npm
     
  12. Sqitch icon
     Like
    Copy a direct link to this comment to your clipboard

    Sensible database-native change management for framework-free development and dependable deployment.

    Cost / License

    • Free
    • Open Source

    Platforms

    • Mac
    • Windows
    • Linux
    • Self-Hosted
    • Docker
     
12 of 21 Knex.js alternatives