Skip to content

balderdashy/sails-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 14, 2023
656b07d · Mar 14, 2023
Apr 23, 2020
Sep 10, 2021
Aug 4, 2017
Feb 18, 2016
Dec 28, 2016
Jan 30, 2018
Dec 19, 2017
Dec 28, 2016
Dec 28, 2016
Aug 10, 2022
Oct 8, 2016
Feb 5, 2016
Jun 8, 2015
Feb 23, 2017
Aug 9, 2021
Feb 5, 2016
Mar 14, 2023

Repository files navigation

Sails-MySQL Adapter Powered by MySQL

MySQL adapter for the Sails framework and Waterline ORM. Allows you to use MySQL via your models to store and retrieve data. Also provides a query() method for a direct interface to execute raw SQL commands.

Installation

Install from NPM.

# In your app:
$ npm install sails-mysql

Help

If you have further questions or are having trouble, click here.

Bugs   NPM version

To report a bug, click here.

Contributing

Please observe the guidelines and conventions laid out in the Sails project contribution guide when opening issues or submitting pull requests.

NPM

Running the tests

To run the tests, point this adapter at your database by specifying a connection URL and run npm test:

WATERLINE_ADAPTER_TESTS_URL=mysql://root:myc00lP4ssw0rD@localhost/adapter_tests npm test

For more info, see Reference > Configuration > sails.config.datastores > The connection URL, or ask for help.

License

This adapter, like the Sails framework is free and open-source under the MIT License.