Diff #4 - trunk/docs/classes/models/emailnotification/whereid.md Repo: apex/webapp Revision: 4 Filename: trunk/docs/classes/models/emailnotification/whereid.md Size: 747 bytes Updated By: apex Date Updated: January 20, 2025 at 08:20 DiffFull Code Diff Index: whereid.md --- whereid.md (nonexistent) +++ whereid.md (revision 4) @@ -0,0 +1,38 @@ + +# BaseModel::whereId + +### Usage + +> ?static BaseModel::whereId(string | int $id) + +### Description + +> Select a single model instance based on the value of the primary key / id column. + +### Parameters + +Parameter | Required | Type | Description +------------- |------------- |------------- |------------- +id | Yes | string | int | + +### Return +> ?static +### See Also + +* all() +* count() +* delete() +* deleteMany() +* getChildren() +* insert() +* insertFromForm() +* insertOrUpdate() +* purge() +* save() +* toArray() +* toFormattedArray() +* update() +* where() +* whereFirst() + + Full Code BaseModel::whereId Usage ?static BaseModel::whereId(string | int $id) Description Select a single model instance based on the value of the primary key / id column. Parameters Parameter Required Type Description id Yes string int Return ?static See Also all() count() delete() deleteMany() getChildren() insert() insertFromForm() insertOrUpdate() purge() save() toArray() toFormattedArray() update() where() whereFirst()