This commit is contained in:
2023-12-12 15:35:35 +08:00
parent 510a13e3da
commit e2c0f62532
32 changed files with 922 additions and 1095 deletions
+24 -25
View File
@@ -11,7 +11,6 @@ namespace Database;
use Database\Traits\QueryTrait;
use Exception;
/**
* Class Query
@@ -20,35 +19,35 @@ use Exception;
class Query implements ISqlBuilder
{
use QueryTrait;
use QueryTrait;
/**
* @throws Exception
*/
public function __construct()
{
$this->builder = SqlBuilder::builder($this);
}
/**
* @throws
*/
public function __construct()
{
$this->builder = SqlBuilder::builder($this);
}
/**
* @return string
* @throws Exception
*/
public function getSql(): string
{
return $this->builder->get();
}
/**
* @return string
* @throws
*/
public function getSql(): string
{
return $this->builder->get();
}
/**
* @return string
* @throws Exception
*/
public function getCondition(): string
{
return $this->builder->getCondition();
}
/**
* @return string
* @throws
*/
public function getCondition(): string
{
return $this->builder->getCondition();
}
}