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
d709d4a8
Commit
d709d4a8
authored
Nov 27, 2013
by
Jens Segers
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:jenssegers/Laravel-MongoDB
parents
c110d762
89eb8056
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
README.md
README.md
+1
-2
No files found.
README.md
View file @
d709d4a8
...
@@ -78,7 +78,6 @@ If you are using a different database driver as the default one, you will need t
...
@@ -78,7 +78,6 @@ If you are using a different database driver as the default one, you will need t
Everything else works just like the original Eloquent model. Read more about the Eloquent on http://laravel.com/docs/eloquent
Everything else works just like the original Eloquent model. Read more about the Eloquent on http://laravel.com/docs/eloquent
### Optional: Alias
### Optional: Alias
-------------------
You may also register an alias for the MongoDB model by adding the following to the alias array in
`app/config/app.php`
:
You may also register an alias for the MongoDB model by adding the following to the alias array in
`app/config/app.php`
:
...
@@ -268,7 +267,7 @@ Supported relations are:
...
@@ -268,7 +267,7 @@ Supported relations are:
-
belongsTo
-
belongsTo
-
belongsToMany
-
belongsToMany
*The belongsToMany relation will not use a pivot "table", but will push id's to a
**related_ids**
attribute instead.*
*The belongsToMany relation will not use a pivot "table", but will push id's to a
__related_ids__
attribute instead.*
Example:
Example:
...
...
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