Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-mongodb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
laravel-mongodb
Commits
99fad179
Commit
99fad179
authored
Mar 23, 2016
by
Fady Khalife
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/jenssegers/laravel-mongodb
parents
0a6531ed
289ec4c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
README.md
README.md
+6
-6
No files found.
README.md
View file @
99fad179
...
...
@@ -116,9 +116,9 @@ And add a new mongodb connection:
'driver'
=>
'mongodb'
,
'host'
=>
env
(
'DB_HOST'
,
'localhost'
),
'port'
=>
env
(
'DB_PORT'
,
27017
),
'database'
=>
env
(
'DB_DATABASE'
,
''
),
'username'
=>
env
(
'DB_USERNAME'
,
''
),
'password'
=>
env
(
'DB_PASSWORD'
,
''
),
'database'
=>
env
(
'DB_DATABASE'
),
'username'
=>
env
(
'DB_USERNAME'
),
'password'
=>
env
(
'DB_PASSWORD'
),
'options'
=>
[
'db'
=>
'admin'
// sets the authentication database required by mongo 3
]
...
...
@@ -132,9 +132,9 @@ You can connect to multiple servers or replica sets with the following configura
'driver'
=>
'mongodb'
,
'host'
=>
[
'server1'
,
'server2'
],
'port'
=>
env
(
'DB_PORT'
,
27017
),
'database'
=>
env
(
'DB_DATABASE'
,
''
),
'username'
=>
env
(
'DB_USERNAME'
,
''
),
'password'
=>
env
(
'DB_PASSWORD'
,
''
),
'database'
=>
env
(
'DB_DATABASE'
),
'username'
=>
env
(
'DB_USERNAME'
),
'password'
=>
env
(
'DB_PASSWORD'
),
'options'
=>
[
'replicaSet'
=>
'replicaSetName'
]
],
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment