- Notifications
You must be signed in to change notification settings - Fork12
Postgres/MySQL/MariaDB/SQLite3 adapter for js-data. Main Site:http://js-data.io, API Reference Docs:http://api.js-data.io
License
js-data/js-data-sql
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Postgres/MySQL/MariaDB/SQLite3 adapter for theJSData Node.js ORM.
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
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});
Start with theJSData + SQL tutorial or checkout theAPI Reference Documentation.
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!
Awesome! You can get started over at theContributing guide.
Thank you!
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.