@labkey/api
    Preparing search index...

    Class Response

    The class used to wrap the response object from getRawData, selectRows, and executeSql.

    Indexable

    • [attr: string]: any
    Index

    Constructors

    Properties

    columnModel: any
    formatVersion: number
    queryName: string
    rowCount: number
    rows: Row[]
    schemaKey: SchemaKey
    schemaName: string

    Methods

    • Gets the row count from the response, which is the total number of rows in the query, not necessarily the number of rows returned. For example, if setting maxRows to 100 on a query that has 5,000 rows, getRowCount will return 5,000, not 100.

      Returns number

    • Returns the schema name from the Response. If asString is true it returns a string, otherwise it returns a FieldKey object.

      Parameters

      • OptionalasString: boolean

      Returns string