any-queue-mysql
MySQL persistence interface for any-queue
Install
$ npm install --save any-queue-mysql
Test
In order to test the library, mysql-server must be installed in the system and a database must be created. Configuration parameters are provided via dotenv.
Then, run npm install && npm test
.
Usage
The library is used together with any-queue
. See any-queue for more details.
;; const persistenceInterface = ; const queue = ;
API
anyQueueMysql({ uri, config })
Returns a mysql connector.
uri
- db uriconfig
- dialectOptions, as described in sequelize docs
License
MIT © Gerardo Munguia