Software Alternatives & Reviews

GraphQL VS Knex.js

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

GraphQL logo GraphQL

GraphQL is a data query language and runtime to request and deliver data to mobile and web apps.

Knex.js logo Knex.js

SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle
  • GraphQL Landing page
    Landing page //
    2023-08-01
  • Knex.js Landing page
    Landing page //
    2022-08-05

GraphQL videos

REST vs. GraphQL: Critical Look

More videos:

  • Review - REST vs GraphQL - What's the best kind of API?
  • Review - What Is GraphQL?

Knex.js videos

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

+ Add video

Category Popularity

0-100% (relative to GraphQL and Knex.js)
Developer Tools
100 100%
0% 0
MySQL Tools
0 0%
100% 100
Javascript UI Libraries
100 100%
0% 0
Database Management
0 0%
100% 100

User comments

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

Social recommendations and mentions

Based on our record, GraphQL should be more popular than Knex.js. It has been mentiond 223 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.

GraphQL mentions (223)

  • Building Scalable GraphQL Microservices With Node.js and Docker: A Comprehensive Guide
    GraphQL is a query language and runtime for APIs. It provides a flexible and efficient way for clients to request and retrieve specific data from a server using a single API endpoint. - Source: dev.to / 16 days ago
  • Type-Safe Fetch with Next.js, Strapi, and OpenAPI
    When you use technologies like GraphQL, it is trivial to derive TypeScript types. A GraphQL API is created by implementing a schema. Generating the TypeScript type definitions from this schema is simple, and you do not have to do any more work than just making the GraphQL API. This is one reason why I like GraphQL so much. - Source: dev.to / 24 days ago
  • REST vs. GraphQL: A Detailed Comparison of API Architectures for Developers
    REST and GraphQL have advantages, drawbacks, and use cases for different environments. REST is for simple logic and a more structured architecture, while GraphQL is for a more tailored response and flexible request. - Source: dev.to / about 1 month ago
  • Gatsby tutorial: Build a static site with a headless CMS
    A Gatsby site uses Gatsby, which leverages React and GraphQL to create fast and optimized web experiences. Gatsby is often used for building static websites, progressive web apps (PWAs), and even full-blown dynamic web applications. - Source: dev.to / about 1 month ago
  • 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
View more

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 / over 1 year ago
View more

What are some alternatives?

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

gRPC - Application and Data, Languages & Frameworks, Remote Procedure Call (RPC), and Service Discovery

DataGrip - Tool for SQL and databases

Next.js - A small framework for server-rendered universal JavaScript apps

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

React - A JavaScript library for building user interfaces

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.