Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 863 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 863 Bytes

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!