Software Alternatives & Reviews

Knex.js VS Flyway

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

Knex.js logo Knex.js

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

Flyway logo Flyway

Flyway is a database migration tool.
  • Knex.js Landing page
    Landing page //
    2022-08-05
  • Flyway Landing page
    Landing page //
    2023-08-02

Knex.js videos

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

+ Add video

Flyway videos

Flyway Review: Echo XLT Duck Call

More videos:

  • Review - Flyway Review: Echo Timber Duck Call
  • Review - Beer Review # 3455 Flyway Brewing Early Bird IPA

Category Popularity

0-100% (relative to Knex.js and Flyway)
MySQL Tools
27 27%
73% 73
Database Management
100 100%
0% 0
Online Services
0 0%
100% 100
Databases
40 40%
60% 60

User comments

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

Social recommendations and mentions

Flyway might be a bit more popular than Knex.js. We know about 57 links to it since March 2021 and only 57 links to Knex.js. 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

Flyway mentions (57)

  • Ask HN: What tool(s) do you use to code review and deploy SQL scripts?
    Also RedGate, but Flyway has some reasons to recommend it over RedGate Deploy depending on your DBAs/workflows: https://flywaydb.org/ (Though I don't think it is "complete" or "perfect", either.) EF Migrations are in a really good place now if you like/don't mind C# as a language (and you can easily embed SQL inside the C#, too, but there are benefits to being able to also run high level C# code). With today's... - Source: Hacker News / 10 days ago
  • Using Flyway to version your database
    When software starts using a database, it's advisable to have version control, just as we have Github to control our source code. This is all to be sure about what was executed for that specific version. For Java and Spring boot, we have the Flyway framework that aims to resolve this situation, free of charge. - Source: dev.to / 4 months ago
  • CI/CD for Databricks
    If you're looking for tools, like https://www.liquibase.com/ or https://flywaydb.org/, which are database-state-based schema migration toolkits - it might be relatively straightforward to build similar ones using Databricks SQL drivers. Source: 10 months ago
  • Strategy to run database scripts on Kubernetes
    This is a 4th option, which should play nice with ArgoCD. The following example runs flyway as a k8s job. The desired migration changes are recorded as files within the chart. This helm chart can be integrated with your application (Using hooks to determine when the migration job is run) or run manually. Source: 11 months ago
  • How do your teams run DB migrations?
    By using an opinionated framework within the app/service (like Flyway, Migrate, Diesel, etc). Schema migrations happen on app/service start-up. Source: 11 months ago
View more

What are some alternatives?

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

DataGrip - Tool for SQL and databases

Liquibase - Database schema change management and release automation solution.

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

Slick - A jquery plugin for creating slideshows and carousels into your webpage.

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.

Sequel Pro - MySQL database management for Mac OS X