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 867731c commit 68db148Copy full SHA for 68db148
tests/QueryTest.php
@@ -411,6 +411,8 @@ public function testExists(): void
411
{
412
$this->assertFalse(User::where('age', '>', 37)->exists());
413
$this->assertTrue(User::where('age', '<', 37)->exists());
414
+ $this->assertTrue(User::where('age', '>', 37)->doesntExist());
415
+ $this->assertFalse(User::where('age', '<', 37)->doesntExist());
416
}
417
418
public function testSubQuery(): void
0 commit comments