Skip to content

Commit 47f3057

Browse files
committed
docs(database): add Model whereExists method annotations
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 5947ec2 commit 47f3057

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎system/Model.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@
7373
* @method $this orNotLike($field, string $match = '', string $side = 'both', ?bool $escape = null, bool $insensitiveSearch = false)
7474
* @method $this orWhere($key, $value = null, ?bool $escape = null)
7575
* @method $this orWhereColumn(string $first, string $second, ?bool $escape = null)
76+
* @method $this orWhereExists($subquery)
7677
* @method $this orWhereIn(?string $key = null, $values = null, ?bool $escape = null)
78+
* @method $this orWhereNotExists($subquery)
7779
* @method $this orWhereNotIn(?string $key = null, $values = null, ?bool $escape = null)
7880
* @method $this select($select = '*', ?bool $escape = null)
7981
* @method $this selectAvg(string $select = '', string $alias = '')
@@ -85,7 +87,9 @@
8587
* @method $this whenNot($condition, callable $callback, ?callable $defaultCallback = null)
8688
* @method $this where($key, $value = null, ?bool $escape = null)
8789
* @method $this whereColumn(string $first, string $second, ?bool $escape = null)
90+
* @method $this whereExists($subquery)
8891
* @method $this whereIn(?string $key = null, $values = null, ?bool $escape = null)
92+
* @method $this whereNotExists($subquery)
8993
* @method $this whereNotIn(?string $key = null, $values = null, ?bool $escape = null)
9094
*
9195
* @phpstan-method $this when($condition, callable(BaseBuilder, mixed): mixed $callback, (callable(BaseBuilder): mixed)|null $defaultCallback = null)

0 commit comments

Comments
 (0)