ExecuteSQLDelete: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server function}} | |||
This function deletes any rows (from the database) that meet the specified conditions in the specified table. | This function deletes any rows (from the database) that meet the specified conditions in the specified table. | ||
Revision as of 01:45, 5 August 2007
This function deletes any rows (from the database) that meet the specified conditions in the specified table.
The SQLite database contains globally stored data and can be used by scripts to store and retrieve data in a structured manner.
The executed SQL query is the following:
[sql]DELETE FROM <table> WHERE <conditions>
Syntax
bool executeSQLDelete ( string table, string conditions )
Required Arguments
- table: The name of the table you want to modify.
- conditions: The conditions that need to be met before a row is deleted.
Returns
The function returns a boolean which is true on success, and false on failure.
See Also