diff --git a/src/Leevel/Database/Ddd/Select.php b/src/Leevel/Database/Ddd/Select.php index ff765a300..38486f66b 100644 --- a/src/Leevel/Database/Ddd/Select.php +++ b/src/Leevel/Database/Ddd/Select.php @@ -57,6 +57,7 @@ * @method static mixed findOne() 返回一条记录. * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection|array findAll() 返回所有记录. * @method static array findArray() 以数组返回所有记录. + * @method static array findAsArray() 以数组返回所有记录(每一项也为数组). * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection findCollection() 以集合返回所有记录. * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection|array find(?int $num = null) 返回最后几条记录. * @method static mixed value(string $field) 返回一个字段的值 diff --git a/src/Leevel/Database/Manager.php b/src/Leevel/Database/Manager.php index d9718b33f..5ec2af229 100644 --- a/src/Leevel/Database/Manager.php +++ b/src/Leevel/Database/Manager.php @@ -56,6 +56,7 @@ * @method static mixed findOne() 返回一条记录. * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection|array findAll() 返回所有记录. * @method static array findArray() 以数组返回所有记录. + * @method static array findAsArray() 以数组返回所有记录(每一项也为数组). * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection findCollection() 以集合返回所有记录. * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection|array find(?int $num = null) 返回最后几条记录. * @method static mixed value(string $field) 返回一个字段的值 diff --git a/src/Leevel/Database/Proxy/Db.php b/src/Leevel/Database/Proxy/Db.php index 86faf2265..ab0cf7148 100644 --- a/src/Leevel/Database/Proxy/Db.php +++ b/src/Leevel/Database/Proxy/Db.php @@ -56,6 +56,7 @@ * @method static mixed findOne() 返回一条记录. * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection|array findAll() 返回所有记录. * @method static array findArray() 以数组返回所有记录. + * @method static array findAsArray() 以数组返回所有记录(每一项也为数组). * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection findCollection() 以集合返回所有记录. * @method static \Leevel\Database\Ddd\EntityCollection|\Leevel\Support\Collection|array find(?int $num = null) 返回最后几条记录. * @method static mixed value(string $field) 返回一个字段的值 diff --git a/src/Leevel/Kernel/IApp.php b/src/Leevel/Kernel/IApp.php index 3ec4cc784..858634576 100644 --- a/src/Leevel/Kernel/IApp.php +++ b/src/Leevel/Kernel/IApp.php @@ -16,7 +16,7 @@ interface IApp * * @var string */ - public const VERSION = '1.1.17'; + public const VERSION = '1.1.18'; /** * 默认环境变量名字.