Methods
NativeMongoDB(options)
RobustTimers plugin to save and restore timers states using native MongoDB module.
npm repo: mongodb
install command: npm install mongodb
GitHub repo: https://github.com/mongodb/node-mongodb-native
Parameters:
Name |
Type |
Description |
options |
Object
|
object containing options for dataSource.
Properties
Name |
Type |
Description |
collectionName |
string
|
name of collection containing data. |
nameColumn |
string
|
name of column with timer name (unique). |
lastExecutionTimestampColumn |
string
|
name of column with timer last execution timestamp (bigint). |
isOnceColumn |
string
|
name of column with isOnce param (tinyint). |
activeColumn |
string
|
name of column with active param (tinyint). |
|
- Source:
NativeMySQL(options)
RobustTimers plugin to save and restore timers states using native mysql module.
npm repo: mysql
install command: npm install mysql
GitHub repo: https://github.com/mysqljs/mysql
Parameters:
Name |
Type |
Description |
options |
Object
|
object containing options for dataSource.
Properties
Name |
Type |
Description |
tableName |
string
|
name of table containing data. |
nameColumn |
string
|
name of column with timer name (unique). |
lastExecutionTimestampColumn |
string
|
name of column with timer last execution timestamp (bigint). |
isOnceColumn |
string
|
name of column with isOnce param (tinyint). |
activeColumn |
string
|
name of column with active param (tinyint). |
|
- Source:
NativePostgreSQL(options)
RobustTimers plugin to save and restore timers states using native PostgreSQL module.
npm repo: pg
install command: npm install pg
GitHub repo: https://github.com/brianc/node-postgres
Parameters:
Name |
Type |
Description |
options |
Object
|
object containing options for dataSource.
Properties
Name |
Type |
Description |
tableName |
string
|
name of table containing data. |
nameColumn |
string
|
name of column with timer name (unique). |
lastExecutionTimestampColumn |
string
|
name of column with timer last execution timestamp (bigint). |
isOnceColumn |
string
|
name of column with isOnce param (tinyint). |
activeColumn |
string
|
name of column with active param (tinyint). |
|
- Source: