Skip to content

Commit 8f00d83

Browse files
committed
docs(database): clarify exists test mode return
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 3319517 commit 8f00d83

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

system/Database/BaseBuilder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ public function countAll(bool $reset = true)
19871987
/**
19881988
* Determines whether the current Query Builder conditions match any rows.
19891989
*
1990-
* @return bool|string
1990+
* @return bool|string SQL string when test mode is enabled.
19911991
*/
19921992
public function exists(bool $reset = true)
19931993
{
@@ -1999,7 +1999,7 @@ public function exists(bool $reset = true)
19991999
/**
20002000
* Determines whether the current Query Builder conditions do not match any rows.
20012001
*
2002-
* @return bool|string
2002+
* @return bool|string SQL string when test mode is enabled.
20032003
*/
20042004
public function doesntExist(bool $reset = true)
20052005
{
@@ -2011,7 +2011,7 @@ public function doesntExist(bool $reset = true)
20112011
/**
20122012
* Runs an existence probe for the current Query Builder query.
20132013
*
2014-
* @return bool|string|null
2014+
* @return bool|string|null SQL string when test mode is enabled, or null when the query fails.
20152015
*/
20162016
protected function doExists(bool $reset = true)
20172017
{

0 commit comments

Comments
 (0)