GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - js-data/js-data-sql: Postgres/MySQL/MariaDB/SQLite3 adapter for js-data. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io

BranchesTags
Open more actions menu

Latest commit

 

History

137 Commits
137 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
dist
dist
 
 
src
src
 
 
test
test
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
AUTHORS
AUTHORS
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTORS
CONTRIBUTORS
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
circle.yml
circle.yml
 
 
conf.json
conf.json
 
 
docker-compose.yml
docker-compose.yml
 
 
mocha.start.js
mocha.start.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rollup.config.js
rollup.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

js-data logo

js-data-sql

Slack NPM Tests Downloads Coverage

A Postgres/MySQL/MariaDB/SQLite3 adapter for the JSData 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 SqlAdapter
const adapter = new SqlAdapter({
  knexOpts: {
    client: 'mysql'
  }
});

// Other JSData setup hidden

// Register the adapter instance
store.registerAdapter('sql', adapter, { default: true });

JSData + SQL Tutorial

Start with the JSData + SQL tutorial or checkout the API Reference Documentation.

Need help?

Please post a question on Stack Overflow. This is the preferred method.

You can also chat with folks on the Slack Channel. If you end up getting your question answered, please still consider consider posting your question to Stack Overflow (then possibly answering it yourself). Thanks!

Want to contribute?

Awesome! You can get started over at the Contributing guide.

Thank you!

License

The MIT License (MIT)

Copyright (c) 2014-2017 js-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

nodejsormsql

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

16 stars

Watchers

2 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.