Skip to content

Queue.r

Grant Carthew edited this page Sep 21, 2016 · 2 revisions

Property Details

Usage: Read Only

Get: Object

Example:

const Queue = require('rethinkdb-job-queue')
const q = new Queue()
let noOfConnections = q.r.getPoolMaster().getLength()
console.log('RethinkDB connection count: ' + noOfConnections)

Description

The Queue.r property returns the reference to the RethinkDB driver. For details about what you can do with the driver, see the RethinkDBDash package documentation.

You will typically not need to use this property. It is just there for convenience. With that said, you can use it to perform searches for jobs or custom changes to the jobs in the queue.

As above, see the RethinkDBDash package for detail on how to access and change values in the RethinkDB database.

Main

How It Works

Contributing

API

Queue Methods

Queue Properties

Queue Events

Job Methods

Job Properties

Documentation

Clone this wiki locally