This commit is contained in:
2024-12-13 14:35:53 +08:00
parent c444de4815
commit 0cc1d3d9f7
+2 -2
View File
@@ -28,7 +28,7 @@ use Kiri\Abstracts\Component;
abstract class QueryTrait extends Component implements ActiveQueryInterface, ISqlBuilder
{
protected array $where = [];
protected array $select = [];
protected array $select = ['t1.*'];
protected array $join = [];
protected array $order = [];
protected int $offset = -1;
@@ -40,7 +40,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
protected bool $lock = FALSE;
protected SqlBuilder $builder;
protected array $params = [];
protected array $_alias = [];
protected array $_alias = ['t1.*'];
/**