Skip to main content

Index

Constructors

Constructor

new Index(options): Index;

Parameters

ParameterType
optionsIndexOptions

Returns

Index

Accessors

columns

Get Signature

get columns(): IndexedColumn[];
Returns

IndexedColumn[]


name

Get Signature

get name(): string;
Returns

string

Methods

toJSON()

toJSON(table): {
columns: {
ascending: boolean | undefined;
name: string;
type: ColumnType;
}[];
name: string;
};

Parameters

ParameterType
tableResolvedTable

Returns

{
columns: {
ascending: boolean | undefined;
name: string;
type: ColumnType;
}[];
name: string;
}
NameType
columns{ ascending: boolean | undefined; name: string; type: ColumnType; }[]
namestring

createAscending()

static createAscending(options, columnNames): Index;

Parameters

ParameterType
optionsIndexOptions
columnNamesstring[]

Returns

Index