Skip to content

Commit 974306d

Browse files
committed
filter.query
1 parent 1f7af95 commit 974306d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test_files/CoCreate.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,12 @@ const CoCreate = {
218218
collection: "modules",
219219
element: "xxxx",
220220
metadata: "",
221-
operator: {
221+
filter: {
222222
fetch: {
223223
name: 'xxxx',
224224
value: 'xxxxx'
225225
},
226-
filters: [{
226+
query: [{
227227
name: 'field1',
228228
operator: "contain | range | eq | ne | lt | lte | gt | gte | in | nin",
229229
value: [v1, v2, ...]
@@ -234,7 +234,7 @@ const CoCreate = {
234234
}, {
235235
....
236236
}],
237-
orders: [{
237+
sort: [{
238238
name: 'field-x',
239239
type: 1 | -1
240240
}],
@@ -247,7 +247,6 @@ const CoCreate = {
247247
count: 0 (integer)
248248
},
249249
250-
is_collection: true | false,
251250
//. case fetch document case
252251
created_ids : [id1, id2, ...],
253252

0 commit comments

Comments
 (0)