We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fad3f commit 3618aefCopy full SHA for 3618aef
src/Schema/Builder.php
@@ -45,7 +45,7 @@ public function hasColumn($table, $column): bool
45
*/
46
public function hasColumns($table, array $columns): bool
47
{
48
- // The field "id" (alias of "_id") always exist on MongoDB collections
+ // The field "id" (alias of "_id") always exists in MongoDB documents
49
$columns = array_filter($columns, fn (string $column): bool => ! in_array($column, ['_id', 'id'], true));
50
51
// Any subfield named "*.id" is an alias of "*._id"
0 commit comments