Interface ReadOptions

Options for reading records.

interface ReadOptions {
    columns?: string[];
    limit?: number;
    sort?: string[];
    unique?: string[];
}

Properties

columns?: string[]

If defined, limit the number of columns sent back in the response.

limit?: number

If defined, specifies the max number of record that will be returned by the read

sort?: string[]

If defined, specifies the name of the tag/prop by which the returned records are sorted in ascending order.

unique?: string[]

If defined, specifies which columns should have distinct values.