Skip to content

Commit a1f9200

Browse files
committed
Merge branch 'upstream-master'
# Conflicts: # lib/utils/objectUtils.js # typings/objection/index.d.ts
2 parents 79e31a6 + df8c413 commit a1f9200

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+5864
-3937
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
version: 2
3+
updates:
4+
- package-ecosystem: 'npm'
5+
directory: '/'
6+
schedule:
7+
interval: 'daily'

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [12.x, 14.x, 16.x]
15+
node-version: [12.x, 14.x, 16.x, 18.x, 20.x]
1616

1717
steps:
1818
- uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ What objection.js **doesn't** give you:
3535
- **Automatic database schema creation and migration from model definitions.**
3636
For simple things it is useful that the database schema is automatically generated from the model definitions,
3737
but usually just gets in your way when doing anything non-trivial. Objection.js leaves the schema related things
38-
to you. knex has a great [migration tool](http://knexjs.org/#Migrations) that we recommend for this job. Check
38+
to you. knex has a great [migration tool](https://knexjs.org/guide/migrations.html) that we recommend for this job. Check
3939
out the [example project](https://github.com/Vincit/objection.js/tree/master/examples/koa-ts).
4040

4141
The best way to get started is to clone our [example project](https://github.com/Vincit/objection.js/tree/master/examples/koa) and start playing with it. There's also a [typescript version](https://github.com/Vincit/objection.js/tree/master/examples/koa-ts) available.

doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ What objection.js **doesn't** give you:
3232
- **Automatic database schema creation and migration from model definitions.**
3333
For simple things it is useful that the database schema is automatically generated from the model definitions,
3434
but usually just gets in your way when doing anything non-trivial. Objection.js leaves the schema related things
35-
to you. knex has a great [migration tool](http://knexjs.org/#Migrations) that we recommend for this job. Check
35+
to you. knex has a great [migration tool](https://knexjs.org/guide/migrations.html) that we recommend for this job. Check
3636
out the [example project](https://github.com/Vincit/objection.js/tree/master/examples/koa-ts).
3737

3838
The best way to get started is to clone our [example project](https://github.com/Vincit/objection.js/tree/master/examples/koa) and start playing with it. There's also a [typescript version](https://github.com/Vincit/objection.js/tree/master/examples/koa-ts) available.

doc/api/query-builder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`QueryBuilder` is the most important component in objection. Every method that allows you to fetch or modify items in the database returns an instance of the `QueryBuilder`.
44

5-
`QueryBuilder` is a wrapper around [knex QueryBuilder](http://knexjs.org#Builder). QueryBuilder has all the methods a knex QueryBuilder has and more. While knex QueryBuilder returns plain JavaScript objects, QueryBuilder returns Model subclass instances.
5+
`QueryBuilder` is a wrapper around [knex QueryBuilder](https://knexjs.org/guide/query-builder.html). QueryBuilder has all the methods a knex QueryBuilder has and more. While knex QueryBuilder returns plain JavaScript objects, QueryBuilder returns Model subclass instances.
66

77
QueryBuilder is thenable, meaning that it can be used like a promise. You can `await` a query builder, and it will get executed. You can return query builder from a [then](/api/query-builder/other-methods.html#then) method of a promise and it gets chained just like a normal promise would.
88

0 commit comments

Comments
 (0)