The store this piece is for
The base directory to the pieces folder
The path from the pieces folder to the piece file
The options for this piece
The client this Piece was created with.
The base directory this Piece is stored in.
Whether or not the Piece is enabled.
The file location where this Piece is stored.
The name of the Piece.
The store this Piece is from.
The absolute path to this piece
The type of piece this is
The addColumn method which inserts/creates a new table to the database.
Inserts new entry into a table.
The table to update
The entry's ID to create
The data to insert
Inserts or creates a table in the database.
The table to check against
The rows to insert
Removes entries from a table.
The table to update
The ID of the entry to delete
Deletes or drops a table from the database.
The table to check against
Disables this piece
Enables this piece
Retrieve a single entry from a table.
The table to query
The ID of the entry to retrieve
Retrieve all entries from a table.
The table to query
The ids to retrieve from the table
The getColumns method which gets the name of all columns.
Retrieves all entries' keys from a table.
The table to query
Check if an entry exists in a table.
The table to update
The entry's ID to check against
Checks if a table exists in the database.
The table to check against
The init method to be optionally overwritten in actual pieces
Process the input from {@link Settings#update} or {@link Settings#reset} into a plain unknown that can be used for document-based database drivers. If it receives a non-array, it returns the value without further processing.
The data that has been updated
Reloads this piece
The newly loaded piece
The removeColumn method which inserts/creates a new table to the database.
Overwrites the data from an entry in a table.
The table to update
The entry's ID to update
The new data for the entry
Shutdown method, this is called before the piece is unloaded.
Defines the JSON.stringify behavior of this piece.
Defines toString behavior for pieces
This piece name
Unloads this piece
Updates an entry from a table.
The table to update
The entry's ID to update
The data to update
The updateColumn method which alters the datatype from a column.
Generated using TypeDoc
0.0.1