This commit is contained in:
2024-04-26 15:36:55 +08:00
parent 2fd37f90a3
commit 87f568bdfe
4 changed files with 25 additions and 43 deletions
+10
View File
@@ -239,6 +239,16 @@ class SqlBuilder extends Component
}
/**
* @return string
* @throws
*/
public function exists(): string
{
return $this->makeSelect(['0']) . $this->make();
}
/**
* @param string $table
* @return string