File tree Expand file tree Collapse file tree 5 files changed +32
-1
lines changed Expand file tree Collapse file tree 5 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,26 @@ See [knex documentation](http://knexjs.org/#Builder-forShare)
213
213
| ----------------------------------- | ---------------------------------- |
214
214
| [ QueryBuilder] ( /api/query-builder/ ) | ` this ` query builder for chaining. |
215
215
216
+ ## skipLocked()
217
+
218
+ See [ knex documentation] ( http://knexjs.org/#Builder-skipLocked )
219
+
220
+ ##### Return value
221
+
222
+ | Type | Description |
223
+ | ----------------------------------- | ---------------------------------- |
224
+ | [ QueryBuilder] ( /api/query-builder/ ) | ` this ` query builder for chaining. |
225
+
226
+ ## noWait()
227
+
228
+ See [ knex documentation] ( http://knexjs.org/#Builder-noWait )
229
+
230
+ ##### Return value
231
+
232
+ | Type | Description |
233
+ | ----------------------------------- | ---------------------------------- |
234
+ | [ QueryBuilder] ( /api/query-builder/ ) | ` this ` query builder for chaining. |
235
+
216
236
## as()
217
237
218
238
See [ knex documentation] ( http://knexjs.org/#Builder-as )
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 2.2.9
4
+
5
+ ### What's new
6
+
7
+ - Add ` noWait ` query builder method.
8
+
3
9
## 2.2.8
4
10
5
11
### What's new
Original file line number Diff line number Diff line change @@ -81,6 +81,10 @@ class QueryBuilderBase extends QueryBuilderOperationSupport {
81
81
return this . addOperation ( new KnexOperation ( 'skipLocked' ) , args ) ;
82
82
}
83
83
84
+ noWait ( ...args ) {
85
+ return this . addOperation ( new KnexOperation ( 'noWait' ) , args ) ;
86
+ }
87
+
84
88
as ( ...args ) {
85
89
return this . addOperation ( new KnexOperation ( 'as' ) , args ) ;
86
90
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " objection" ,
3
- "version" : " 2.2.8 " ,
3
+ "version" : " 2.2.9 " ,
4
4
"description" : " An SQL-friendly ORM for Node.js" ,
5
5
"main" : " lib/objection.js" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -1050,6 +1050,7 @@ declare namespace Objection {
1050
1050
forUpdate : IdentityMethod < this> ;
1051
1051
forShare : IdentityMethod < this> ;
1052
1052
skipLocked : IdentityMethod < this> ;
1053
+ noWait : IdentityMethod < this> ;
1053
1054
skipUndefined : IdentityMethod < this> ;
1054
1055
debug : IdentityMethod < this> ;
1055
1056
alias : OneArgMethod < string , this> ;
You can’t perform that action at this time.
0 commit comments