This commit is contained in:
2020-12-17 14:09:14 +08:00
parent 672a719dbd
commit 36c1d0502a
151 changed files with 1937 additions and 2848 deletions
+3 -2
View File
@@ -11,6 +11,7 @@ namespace Database;
use Database\Orm\Select;
use Database\Traits\QueryTrait;
use Exception;
/**
* Class Sql
@@ -23,9 +24,9 @@ class Sql
/**
* @return string
* @throws \Exception
* @throws Exception
*/
public function getSql()
public function getSql(): string
{
return (new Select())->getQuery($this);
}