We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa6f797 commit e84f38aCopy full SHA for e84f38a
src/Web/Documentation/content/main/1-framework/05-models.md
@@ -186,7 +186,10 @@ interface Model
186
public static function updateOrCreate(array $find, array $update): self;
187
188
// Find a specific model, optionally loading relations as well
189
- public static function find(Id $id, array $relations = []): ?self;
+ public static function get(Id $id, array $relations = []): ?self;
190
+
191
+ // Create a model query with a number of field conditions
192
+ public static function find(mixed ...$conditions): ModelQueryBuilder;
193
194
// Save a model instance to the database
195
public function save(): self;
0 commit comments