Software Alternatives & Reviews

Knex.js VS TypeORM

Compare Knex.js VS TypeORM and see what are their differences

Knex.js logo Knex.js

SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle

TypeORM logo TypeORM

Node.js ORM written in TypeScript
  • Knex.js Landing page
    Landing page //
    2022-08-05
  • TypeORM Landing page
    Landing page //
    2023-10-17

Knex.js

Categories
  • Database Management
  • MySQL Tools
  • Databases
  • Database Tools
Website knexjs.org
Details $

TypeORM

Categories
  • Web Frameworks
  • Digital Drawing And Painting
  • Python Web Framework
  • JavaScript Framework
Website github.com
Details $-

Knex.js videos

No Knex.js videos yet. You could help us improve this page by suggesting one.

+ Add video

TypeORM videos

Should you use Sequelize, TypeORM, or Prisma 1?

More videos:

  • Review - Typeorm Migrations
  • Review - Many to Many Entities in Typeorm

Category Popularity

0-100% (relative to Knex.js and TypeORM)
MySQL Tools
100 100%
0% 0
Web Frameworks
0 0%
100% 100
Database Management
100 100%
0% 0
Developer Tools
0 0%
100% 100

User comments

Share your experience with using Knex.js and TypeORM. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Knex.js should be more popular than TypeORM. It has been mentiond 57 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Knex.js mentions (57)

  • Create a Blog web app using Adonis.js 6
    AdonisJS core team has created/maintains Lucid. It is a SQL query builder, and an Active Record ORM built on top of Knex. - Source: dev.to / 2 months ago
  • Type-safe Data Access in Go using Prisma and sqlc
    Now, why not use an ORM? I've seen performance issues too many times with ORMs. I prefer writing my own SQL to avoid surprises. After all, I know the database schema and writing code for a specific purpose very often leads to better performance than generic code. ORMs have to support all kinds of database schemas. I only have to support mine. Having successfully used Knex.js in NodeJS (a popular query builder) in... - Source: dev.to / 5 months ago
  • Can I create another WordPress that satisfies humanity?
    Given the dynamic nature of the schema, we employ Knex, a query builder, for database access. - Source: dev.to / 5 months ago
  • Why SQL is right for Infrastructure Management
    SQL is an old, irregular language to work with, but it is better known than HCL and SQL already has it's own Pulumi/CDK in the form of every ORM with introspection (like Javascript's Prisma, Python's Django, Go's XO etc) and QueryBuilder (LINQ, Knex, etc) in whatever programming language you prefer. You probably already know it. - Source: dev.to / about 1 year ago
  • Kysely: TypeScript SQL Query Builder
    How does HN receive SQL builders in general? I feel like most of us agree ORMs are typically a bad idea. I feel like that almost instantly leaves the need for "something" to take its place. In my experience, it's typically been a query builder like this. I've also tried: https://knexjs.org/ https://www.npmjs.com/package/sql-template-strings ("out of date" since like 2016?... - Source: Hacker News / about 1 year ago
View more

TypeORM mentions (13)

  • TypeORM - remove children with orphanedRowAction
    TypeORM is a very convenient ORM for JS apps. We use it with NestJS and running it on NodeJS. - Source: dev.to / 6 months ago
  • Which local db to use?
    React-native-quick-sqlite if you know what you're doing and Know SQL it gives you more control over the database like executing custom SQL queries, or some advance things, you can use it with an orm like Typeorm. Source: over 1 year ago
  • How does TypeORM compare to Prisma?
    TypeORM is actively maintained and issues are being fixed. https://github.com/typeorm/typeorm. Source: over 1 year ago
  • ORMs in JavaScript
    TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). -- source. - Source: dev.to / almost 2 years ago
  • TypeORM: Object-relational mapping with Node.js
    TypeORM is an open source tool with over 28K GitHub stars and more than 1 million weekly downloads on npm at the time of writing. Launched on Feb 21, 2016, TypeORM has grown to become one of the most popular JavaScript ORMs and one of the most popular ORM libraries built for TypeScript projects. - Source: dev.to / almost 2 years ago
View more

What are some alternatives?

When comparing Knex.js and TypeORM, you can also consider the following products

DataGrip - Tool for SQL and databases

Prisma - Art filters using artificial intelligence to transform your photos into classic artwork.

Navicat - Powerful database management & design tool for Win, Mac & Linux. With intuitive GUI, user manages MySQL, MariaDB, SQL Server, SQLite, Oracle & PostgreSQL DB easily.

Sequelize - Provides access to a MySQL database by mapping database entries to objects and vice-versa.

DtSQL - DtSQL is one of the best and perfect database management tools for the all kind of databases that are currently being used across the globe.

ExpressJS - Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple