Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Postgres/MySQL/MariaDB/SQLite3 adapter for js-data. Main Site:http://js-data.io, API Reference Docs:http://api.js-data.io

License

NotificationsYou must be signed in to change notification settings

js-data/js-data-sql

Repository files navigation

js-data logo

js-data-sql

SlackNPMTestsDownloadsCoverage

A Postgres/MySQL/MariaDB/SQLite3 adapter for theJSData Node.js ORM.

Installation

npm install --save js-data js-data-sql

And then you also need to install one of the following:

  • pg
  • sqlite3
  • mysql
  • mysql2
  • mariasql
  • strong-oracle
  • oracle
  • mssql

Usage

import{SqlAdapter}from'js-data-sql';// Create an instance of SqlAdapterconstadapter=newSqlAdapter({knexOpts:{client:'mysql'}});// Other JSData setup hidden// Register the adapter instancestore.registerAdapter('sql',adapter,{default:true});

JSData + SQL Tutorial

Start with theJSData + SQL tutorial or checkout theAPI Reference Documentation.

Need help?

Pleasepost a question on Stack Overflow.This is the preferred method.

You can also chat with folks on theSlack Channel. If you end up gettingyour question answered, please still consider consider posting your question toStack Overflow (then possibly answering it yourself). Thanks!

Want to contribute?

Awesome! You can get started over at theContributing guide.

Thank you!

License

The MIT License (MIT)

Copyright (c) 2014-2017js-data-sql project authors

About

Postgres/MySQL/MariaDB/SQLite3 adapter for js-data. Main Site:http://js-data.io, API Reference Docs:http://api.js-data.io

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp