This commit is contained in:
2020-08-31 12:38:32 +08:00
parent 683a39dded
commit 65c443ec87
126 changed files with 7369 additions and 228 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
/**
* Created by PhpStorm.
* User: whwyy
* Date: 2018/6/27 0027
* Time: 17:49
*/
namespace Database;
use Database\Orm\Select;
use Database\Traits\QueryTrait;
/**
* Class Sql
* @package Database
*/
class Sql
{
use QueryTrait;
/**
* @return string
* @throws \Exception
*/
public function getSql()
{
return (new Select())->getQuery($this);
}
}