Skip to content

Commit

Permalink
修正think\db\connector\Mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed May 24, 2023
1 parent 710c990 commit 2393396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/connector/Mongo.php
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ public function value(BaseQuery $query, string $field, $default = null)
*
* @return array
*/
public function column(BaseQuery $query, $field, string $key = ''): array
public function column(BaseQuery $query, string|array $field, string $key = ''): array
{
$options = $query->parseOptions();

Expand Down

0 comments on commit 2393396

Please sign in to comment.