Returns an sql DELETE query
String
delete
(String $table, [String $where = ''], [String $smartQuotes = true], [String $addon = ''], [String $statementAddon = ''])
-
String
$table: the table
-
String
$where: where clause
-
String
$smartQuotes: wrap Strings in quotes?
-
String
$addon: inserted at the end
-
String
$statementAddon: inserted after the DELETE keyword
Returns an sql INSERT query
String
insert
(String $table, Mixed $values, [String $smartQuotes = true], [String $addon = ''], [String $statementAddon = ''])
-
String
$table: the table
-
Mixed
$values: the values to be changed as an associative array as a string
-
String
$smartQuotes: wrap Strings in quotes?
-
String
$addon: inserted at the end
-
String
$statementAddon: inserted after the INSERT keyword
Returns an sql REPLACE query
String
replace
(String $table, Mixed $values, [String $smartQuotes = true], [String $addon = ''], [String $statementAddon = ''])
-
String
$table: the table
-
Mixed
$values: the values to be changed as an associative array as a string
-
String
$smartQuotes: wrap Strings in quotes?
-
String
$addon: inserted at the end
-
String
$statementAddon: inserted after the REPLACE keyword
Returns an sql SELECT query
String
select
(Mixed $columns, mixed $tables, [String $where = ''], [String $smartQuotes = true], [String $addon = ''], [String $statementAddon = ''], String $table)
-
Mixed
$columns: the columns
-
String
$table: the table
-
String
$where: where clause
-
String
$smartQuotes: wrap Strings in quotes?
-
String
$addon: inserted at the end
-
String
$statementAddon: inserted after the SELECT keyword
Returns an sql UPDATE query
String
update
(String $table, Mixed $values, [String $where = ''], [mixed $smartQuotes = true], [String $addon = ''], [String $statementAddon = ''])
-
String
$table: the table
-
Mixed
$values: the values to be changed as an associative array as a string
-
String
$where: where clause
-
String
$addon: inserted at the end
-
String
$statementAddon: inserted after the UPDATE keyword
Inherited Methods
Inherited From UtilityClass
UtilityClass::UtilityClass()