Software Alternatives & Reviews

Knex.js VS Mikro orm

Compare Knex.js VS Mikro orm and see what are their differences

Knex.js logo Knex.js

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

Mikro orm logo Mikro orm

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.
  • Knex.js Landing page
    Landing page //
    2022-08-05
  • Mikro orm Landing page
    Landing page //
    2021-09-10

Category Popularity

0-100% (relative to Knex.js and Mikro orm)
MySQL Tools
100 100%
0% 0
Development
26 26%
74% 74
Database Management
100 100%
0% 0
Web Frameworks
0 0%
100% 100

User comments

Share your experience with using Knex.js and Mikro orm. 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 Mikro orm. 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 / 3 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 / over 1 year ago
View more

Mikro orm mentions (25)

  • Rust GraphQL APIs for NodeJS Developers: Introduction
    In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:. - Source: dev.to / 7 months ago
  • Top 6 ORMs for Modern Node.js App Development
    Mikro-ORM is a TypeScript ORM that focuses on simplicity and efficiency. It supports various SQL databases and MongoDB. Mikro-ORM is known for its simplicity and developer-friendly APIs. It provides a concise syntax for defining data models and relationships, making it easy to use. - Source: dev.to / 7 months ago
  • We migrated to SQL. Our biggest learning? Don't use Prisma
    I found MikroORM [0] to be quite reasonable if you're in the TS ecosystem already. It was also easy to do custom, raw queries, and really just felt like it wasn't in the way. [0] https://mikro-orm.io/. - Source: Hacker News / 7 months ago
  • The Epic Stack by Kent C. Dodds
    It also does code generation into its own module, so good luck with hoisting in a monorepo where you want multiple independent prisma schemas. MikroORM[1] is a much better alternative to Prisma in my opinion but any ORM carries some form of baggage. [1] https://mikro-orm.io/. - Source: Hacker News / 12 months ago
  • Announcing a new TypeScript ORM
    I recommend looking at https://mikro-orm.io/. Source: about 1 year ago
View more

What are some alternatives?

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

DataGrip - Tool for SQL and databases

Hibernate - Hibernate an open source Java persistence framework project.

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

Beego - Beego Web is official blog and documentation website for beego app web framework

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.

Dapper - Dapper is a user-friendly object mapper for the .NET framework.