NyanORM::save
Saves current model data fields changes to database.
Signature
public function save([boolean
$flushParams = true,
[boolean
$fieldsBatch = false]] )
Parameters
$flushParams
— boolean- flush all query parameters like where, order, limit and other after execution?
$fieldsBatch
— boolean- gather all the fields together in a single query from $this->data structure
before actually running the query to reduce the amount of subsequential DB queries for every table field
Returns
- void