From 0cc1d3d9f7c24f3a39d8444e6aa6bbbf074ffc8a Mon Sep 17 00:00:00 2001 From: whwyy Date: Fri, 13 Dec 2024 14:35:53 +0800 Subject: [PATCH] eee --- Traits/QueryTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Traits/QueryTrait.php b/Traits/QueryTrait.php index 941dc04..1b54397 100644 --- a/Traits/QueryTrait.php +++ b/Traits/QueryTrait.php @@ -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.*']; /**