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 QueryBuilder instance for this SQL provider
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.
The table to check against
The SchemaEntry added to the schema
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.
The table to check against
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 query builder debug check for errors in the QueryBuilder, if one exists in the extended SQLProvider instance
Process the input from {@link Settings#update} or {@link Settings#reset} into an unknown with the keys and values that can be used for schema-based (SQL) database drivers. If it receives a non-array, it is flattened into a dotted unknown notation. Please note that this behaviour may be tricky when working with a SchemaEntry which type accepts an unknown and it's not an array, as it'll be flattened into as many keys as properties it has.
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.
The table to check against
The column names to remove
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.
The table to check against
The modified SchemaEntry
Generated using TypeDoc
0.0.1