You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,18 @@
1
1
Laravel MongoDB
2
2
===============
3
-
3
+
This is fork supports disabling _id to id automatic conversion and disablling returning results as arrays in aggregate instead of bson object based on database configuration.
4
+
'mongodb' => [
5
+
'driver' => 'mongodb',
6
+
'dsn' => env('DB_URI'),
7
+
'database' => env('DB_NAME'),
8
+
'options' => [
9
+
10
+
'ssl' => true,
11
+
'AggregateCollectionArray'=>true, //add this to disable aggregate array
12
+
'DisableAliasIdForResult'=>true, //add this to disable automatic _id conversion
0 commit comments