Database connector
Optionaltable: stringDatabase table name for where the states will be stored
Optionalpkey: stringPrimary key column name for that table
Get the column name for the default state flag
Set the column name for the default state flag
Column name
Get the column name for the table's primary key
Set the column name for the table's primary key
Column name
Get the column name for the state's name
Set the column name for the state's name
Column name
Get the column name for the URL (path) of where the state applied
Set the column name for the URL (path) of where the state applied
Column name
Get the column name for the shared flag
Set the column name for the shared flag
Column name
Get the column name for where the state itself is stored
Set the column name for where the state itself is stored
Column name
Get the column name for where the name of the host DataTable stored
Set the column name for where the name of the host DataTable stored
Column name
Get the column name for the name of the column where the user identifier is stored.
Set the column name for the name of the column where the user identifier is stored.
Column name
Get the data constructed and resulting from this instance being processed.
The result
Get the database connection assigned to the instance.
Knex db interface
Set the database connection.
Knex db interface
Self for chaining
Get extra column name / value properties to store in the db
Set the column name / value properties to store in the db as part of the state. Note that they are not read back from the db as part of loading the state list.
Column name / value pairs
Get the database table name that will be used for the state storage.
Set the database table name that will be used for state storage.
Table name
Get the value for the current user identifier. This is usually a user id, but it could be any other unique identifier.
Set the value for the current user identifier. This is usually a user id, but it could be any other unique identifier.
User ID
Get the array of conditions applied to the instance.
Knex where conditions.
Set a condition for the queries Editor will perform. Editor uses Knex to connect to the database, and exposes the knex object using this method so you can add any conditions you like that are supported by Knex.
Knex query condition
Self for chaining.
Constructor