2022-01-09 03:49:51 +08:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* Created by PhpStorm.
|
|
|
|
|
* User: whwyy
|
|
|
|
|
* Date: 2018/6/27 0027
|
|
|
|
|
* Time: 17:49
|
|
|
|
|
*/
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
namespace Database;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Database\Traits\QueryTrait;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Class Query
|
|
|
|
|
* @package Database
|
|
|
|
|
*/
|
2023-12-13 10:05:42 +08:00
|
|
|
class Query extends QueryTrait implements ISqlBuilder
|
2022-01-09 03:49:51 +08:00
|
|
|
{
|
|
|
|
|
|
2023-12-12 15:35:35 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return string
|
|
|
|
|
* @throws
|
|
|
|
|
*/
|
|
|
|
|
public function getCondition(): string
|
|
|
|
|
{
|
|
|
|
|
return $this->builder->getCondition();
|
|
|
|
|
}
|
2022-01-09 03:49:51 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|