mirror of https://gitee.com/bigwinds/arangodb
typos
This commit is contained in:
parent
7868ad1e02
commit
55655ada3b
|
@ -78,7 +78,7 @@ like any other collection with the db object, e.g.
|
||||||
```
|
```
|
||||||
|
|
||||||
Of course you still use any collection directly with the db object even
|
Of course you still use any collection directly with the db object even
|
||||||
from Foxx. To access an collection called "movies" this could be one solution:
|
from Foxx. To access a collection called "movies" this could be one solution:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
app.get("/all", function(req, res) {
|
app.get("/all", function(req, res) {
|
||||||
|
@ -95,7 +95,7 @@ Then there are Foxx repositories. These are objects that you can create
|
||||||
to hide the internals of the database access from the application so
|
to hide the internals of the database access from the application so
|
||||||
that the application will just use the repository but not the database.
|
that the application will just use the repository but not the database.
|
||||||
|
|
||||||
A repository is an object that wrap access to a collection (or multiple
|
A repository is an object that wraps access to a collection (or multiple
|
||||||
collections if you want), whereas controller.collection returns the
|
collections if you want), whereas controller.collection returns the
|
||||||
collection itself. That's the main difference.
|
collection itself. That's the main difference.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue