Browse Source

fix(nocodb-sdk): add missing offset & limit

pull/3827/head
Wing-Kam Wong 2 years ago
parent
commit
1dcf0ed2ef
  1. 8
      packages/nocodb-sdk/src/lib/Api.ts
  2. 14
      scripts/sdk/swagger.json

8
packages/nocodb-sdk/src/lib/Api.ts

@ -2252,7 +2252,13 @@ export class Api<
orgs: string,
projectName: string,
tableName: string,
query?: { fields?: any[]; sort?: any[]; where?: string },
query?: {
fields?: any[];
sort?: any[];
where?: string;
offset?: string;
limit?: string;
},
params: RequestParams = {}
) =>
this.request<any, any>({

14
scripts/sdk/swagger.json

@ -2608,6 +2608,20 @@
},
"in": "query",
"name": "where"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "offset"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "limit"
}
],
"responses": {

Loading…
Cancel
Save