Method: db::replace
Runs a REPLACE query
Info
Syntax
db::replace($table, $input)
Parameters
- $table (string) The table name
- $input (mixed) Either a key/value array or a valid MySQL insert string
Return (mixed)
The last inserted id if everything went fine or an error response.