Interface QueryRequestOptions

interface QueryRequestOptions {
    apiVersion?: string | number;
    auditBehavior?: AuditBehaviorTypes;
    auditUserComment?: string;
    autoFormFileData?: boolean;
    containerPath?: string;
    extraContext?: any;
    failure?: RequestFailure<any>;
    form?: FormData | HTMLFormElement;
    queryName: string;
    rowDataArray?: any[];
    rows?: any[];
    schemaName: string;
    scope?: any;
    skipReselectRows?: boolean;
    success?: RequestSuccess<any>;
    timeout?: number;
    transacted?: boolean;
}

Hierarchy (view full)

Properties

apiVersion?: string | number
auditBehavior?: AuditBehaviorTypes

Can be used to override the audit behavior for the table the query is acting on. See AuditBehaviorTypes.

auditUserComment?: string

Can be used to provide a comment from the user that will be attached to certain detailed audit log records.

autoFormFileData?: boolean

Flag that specifies if row data should be parsed and transformed into FormData when File data is present. Defaults to false. This is useful for endpoints that support File data. The client-side supports parsing and transforming the request payload into FormData for handling File data.

containerPath?: string

The container path in which the schema and query name are defined. If not supplied, the current container path will be used.

extraContext?: any

Experimental: Optional extra context object passed into the transformation/validation script environment.

failure?: RequestFailure<any>

This will be called upon failure to complete a request.

form?: FormData | HTMLFormElement

FormData or Object consumable by FormData that can be used to POST key/value pairs of form information. For more information, see FormData documentation. Note that if both form and rows are provided, the form object will be used.

queryName: string

Name of a query table associated with the chosen schema. See also: How To Find schemaName, queryName & viewName.

rowDataArray?: any[]
rows?: any[]

Array of record objects in which each object has a property for each field. The row data array needs to include only the primary key column value, not all columns. Note that if both form and rows are provided, the form object will be used.

schemaName: string

Name of a schema defined within the current container. See also: How To Find schemaName, queryName & viewName.

scope?: any

A scoping object for the success and failure callback functions (default to this).

skipReselectRows?: boolean

Whether the full detailed response for the update/insert rows can be skipped. Defaults to false.

success?: RequestSuccess<any>

This will be called upon successfully completing a request.

timeout?: number

The maximum number of milliseconds to allow for this operation before generating a timeout error (defaults to 30000).

transacted?: boolean

Whether all of the deletes should be done in a single transaction, so they all succeed or all fail. Defaults to true.

Generated using TypeDoc