Skip to content

SQL adapter for Qwiery. It allows you to use a SQL database as a graph database.

License

Notifications You must be signed in to change notification settings

Qwiery/qwiery-sql

Repository files navigation

Qwiery SQL Adapter

This Qwiery adapter allows to use a Sql backend. It replaces the default JSON adapter and transparently uses the same Qwiery API.

 npm install @orbifold/sql
import {Qwiery} from "@orbifold/dal";
import {Sql} from "@orbifold/sql";
// add the plugin to Qwiery
Qwiery.plugin(Sql);
const q = new Qwiery({
    // define which adapter to use (this replaces the default JSON adapter)
    adapters: ["sql"],
    // optional: replace the defaults (sqlite) to connect
    sql: {
        // the Sequelize options will be passed unchanged
        // https://sequelize.org/api/v7/interfaces/_sequelize_core.index.options
    }
});

About

SQL adapter for Qwiery. It allows you to use a SQL database as a graph database.

Topics

Resources

License

Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

Stars

Watchers

Forks

Packages

No packages published