吕君喜 406d880ac6 first há 3 anos atrás
..
helpers 406d880ac6 first há 3 anos atrás
lib 406d880ac6 first há 3 anos atrás
node_modules 406d880ac6 first há 3 anos atrás
test 406d880ac6 first há 3 anos atrás
.dockerignore 406d880ac6 first há 3 anos atrás
.editorconfig 406d880ac6 first há 3 anos atrás
.eslintrc 406d880ac6 first há 3 anos atrás
.jshintrc 406d880ac6 first há 3 anos atrás
.travis.yml 406d880ac6 first há 3 anos atrás
CHANGELOG.md 406d880ac6 first há 3 anos atrás
Dockerfile 406d880ac6 first há 3 anos atrás
Makefile 406d880ac6 first há 3 anos atrás
README.md 406d880ac6 first há 3 anos atrás
appveyor.yml 406d880ac6 first há 3 anos atrás
docker-compose.yml 406d880ac6 first há 3 anos atrás
package.json 406d880ac6 first há 3 anos atrás

README.md

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.