Software Alternatives & Reviews

Using Database Transactions to Write Queries in Strapi

Node.js Knex.js Bookshelf.js
  1. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications
    Downloaded and installed latest Node.js v14. # How Strapi Handles Database.

    #Runtime #JavaScript Runtime #JavaScript 787 social mentions

  2. SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle
    Pricing:
    • Open Source
    Strapi uses Bookshelf.js library to send database queries in an ORM fashion. Bookshelf itself is powered by Knex.js, which is a SQL query builder. Knex.js supports popular SQL-based database engines like PostgreSQL, SQLite, MySQL, and MariaDB, which are also supported by Strapi. Knex.js also supports database transactions, which then makes Bookshelf also provides support for it. With a basic understanding of both libraries, we can add Database transaction support to Strapi queries.

    #Database Management #MySQL Tools #Databases 57 social mentions

  3. Application and Data, Data Stores, and Object Relational Mapper (ORM)
    Pricing:
    • Open Source
    Strapi uses Bookshelf.js library to send database queries in an ORM fashion. Bookshelf itself is powered by Knex.js, which is a SQL query builder. Knex.js supports popular SQL-based database engines like PostgreSQL, SQLite, MySQL, and MariaDB, which are also supported by Strapi. Knex.js also supports database transactions, which then makes Bookshelf also provides support for it. With a basic understanding of both libraries, we can add Database transaction support to Strapi queries.

    #Development #Web Frameworks #Application And Data 6 social mentions

Discuss: Using Database Transactions to Write Queries in Strapi

Log in or Post with