better-queue-sql

1.0.6 • Public • Published

Better Queue - SQL Store

A SQL store for better-queue.

Getting started

Install this store with npm:

npm install --save better-queue-sql

Configure your queue to use the sql store:

var q = new Queue(fn, {
  store: {
    type: 'sql',
    ... more options here
  }
})

... or instantiate it and pass it to the store directly:

var SQLStore = require('better-queue-sql');
var store = new SQLStore(opts);
var q = new Queue(fn, { store: store })

Examples

Please have a look at the better-queue documentation on how to set up and use stores.

Contributions

Are welcome!

This library was initially made by the awesome team of engineers at Diamond.

If you haven't already, make sure you install Diamond!

Package Sidebar

Install

npm i better-queue-sql

Weekly Downloads

548

Version

1.0.6

License

MIT

Unpacked Size

15.2 kB

Total Files

11

Last publish

Collaborators

  • diam