Skip to content

Commit

Permalink
findAsArray
Browse files Browse the repository at this point in the history
  • Loading branch information
doyouhaobaby committed Mar 21, 2023
1 parent dc96290 commit 55a7625
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Leevel/Database/Ddd/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) 返回一个字段的值
Expand Down
1 change: 1 addition & 0 deletions src/Leevel/Database/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) 返回一个字段的值
Expand Down
1 change: 1 addition & 0 deletions src/Leevel/Database/Proxy/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) 返回一个字段的值
Expand Down
2 changes: 1 addition & 1 deletion src/Leevel/Kernel/IApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface IApp
*
* @var string
*/
public const VERSION = '1.1.17';
public const VERSION = '1.1.18';

/**
* 默认环境变量名字.
Expand Down

0 comments on commit 55a7625

Please sign in to comment.