Skip to content

Commit 5c91a9c

Browse files
authored
Performance Evaluation for Data at Scale - Improve Insert/UpdateRows calls (#151)
1 parent a236d68 commit 5c91a9c

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.19.2 - 2023-04-XX
2+
- Add skipReselectRows parameter to IQueryRequestOptions
3+
14
## 1.19.1 - 2023-04-19
25
- Add the `allowLookupByAlternateKey` param to the `Assay.importRun()` API
36

package-lock.json

Lines changed: 20 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@labkey/api",
3-
"version": "1.19.1",
3+
"version": "1.19.2",
44
"description": "JavaScript client API for LabKey Server",
55
"scripts": {
66
"build": "npm run build:dist && npm run build:docs",

src/labkey/query/Rows.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ export interface QueryRequestOptions extends RequestCallbackOptions {
6161
* See also: [How To Find schemaName, queryName & viewName](https://www.labkey.org/Documentation/wiki-page.view?name=findNames).
6262
*/
6363
schemaName: string;
64+
/**
65+
* Whether the full detailed response for the update/insert rows can be skipped.
66+
* Defaults to false.
67+
*/
68+
skipReselectRows?: boolean;
6469
/**
6570
* The maximum number of milliseconds to allow for this operation before
6671
* generating a timeout error (defaults to 30000).
@@ -372,6 +377,7 @@ function sendRequest(options: SendRequestOptions, supportsFiles?: boolean): XMLH
372377
extraContext: options.extraContext,
373378
auditBehavior: options.auditBehavior,
374379
auditUserComment: options.auditUserComment,
380+
skipReselectRows: options.skipReselectRows,
375381
};
376382

377383
const form = bindFormData(jsonData, options, supportsFiles);

0 commit comments

Comments
 (0)