Diff #4 - trunk/docs/classes/models/emaillink/update.md Repo: apex/webapp Revision: 4 Filename: trunk/docs/classes/models/emaillink/update.md Size: 819 bytes Updated By: apex Date Updated: January 20, 2025 at 08:20 DiffFull Code Diff Index: update.md --- update.md (nonexistent) +++ update.md (revision 4) @@ -0,0 +1,40 @@ + +# BaseModel::update + +### Usage + +> void BaseModel::update(array $values, [ string $where_sql = '' ], [ ... $args ]) + +### Description + +> Update multiple records within the database table assigned to the model class. + +### Parameters + +Parameter | Required | Type | Description +------------- |------------- |------------- |------------- +values | Yes | array | +where_sql | No | string | +args | No | ... | + +### Return +> void +### See Also + +* all() +* count() +* delete() +* deleteMany() +* getChildren() +* insert() +* insertFromForm() +* insertOrUpdate() +* purge() +* save() +* toArray() +* toFormattedArray() +* where() +* whereFirst() +* whereId() + + Full Code BaseModel::update Usage void BaseModel::update(array $values, [ string $where_sql = '' ], [ ... $args ]) Description Update multiple records within the database table assigned to the model class. Parameters Parameter Required Type Description values Yes array where_sql No string args No ... Return void See Also all() count() delete() deleteMany() getChildren() insert() insertFromForm() insertOrUpdate() purge() save() toArray() toFormattedArray() where() whereFirst() whereId()