Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d75e10

Browse files
committed
add query examples to the new docs
1 parent 65357ef commit 5d75e10

File tree

5 files changed

+839
-4
lines changed

5 files changed

+839
-4
lines changed

newDoc/.vuepress/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ module.exports = {
3838
collapsable: false,
3939
children: [
4040
'model',
41-
'query-builder'
41+
'query-builder',
42+
'types'
4243
]
4344
}]
4445
}

newDoc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Objection.js is built on an SQL query builder called [knex](http://knexjs.org).
1414
What objection.js gives you:
1515

1616
* **An easy declarative way of [defining models](/guide/models.html) and relationships between them**
17-
* **Simple and fun way to [fetch, insert, update and delete](/guide/query-examples.html#simple-queries) objects using the full power of SQL**
17+
* **Simple and fun way to [fetch, insert, update and delete](/guide/query-examples.html#basic-queries) objects using the full power of SQL**
1818
* **Powerful mechanisms for [eager loading](/guide/query-examples.html#eager-loading), [inserting](/guide/query-examples.html#graph-inserts) and [upserting](/guide/query-examples.html#graph-upserts) object graphs**
1919
* **A way to [store complex documents](/guide/documents.html) as single rows**
2020
* **Completely [Promise](https://github.com/petkaantonov/bluebird) based API**
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Types
22

33
## type RelationMapping
4+
5+
## type RelationExpression

0 commit comments

Comments
 (0)