query() method for a direct interface to execute raw SQL commands.
InstallationInstall from NPM.
# In your app:
$ npm install sails-mysql
HelpIf you have further questions or are having trouble, click here.click here.
ContributingPlease observe the guidelines and conventions laid out in the Sails project contribution guide when opening issues or submitting pull requests.
Running the testsTo run the tests, point this adapter at your database by specifying a connection URL and run
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.