Browse Source

Merge pull request #3827 from nocodb/fix/missing-params

fix(nocodb-sdk): add missing offset & limit
pull/3904/head
navi 2 years ago committed by GitHub
parent
commit
2866b29e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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, orgs: string,
projectName: string, projectName: string,
tableName: string, tableName: string,
query?: { fields?: any[]; sort?: any[]; where?: string }, query?: {
fields?: any[];
sort?: any[];
where?: string;
offset?: string;
limit?: string;
},
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request<any, any>({ this.request<any, any>({

14
scripts/sdk/swagger.json

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

Loading…
Cancel
Save