ionic-orm-2
Version:
Data-mapper ORM for Ionic WebSQL and SQLite
26 lines (25 loc) • 1.22 kB
TypeScript
import { IndexOptions } from "./options/IndexOptions";
/**
* Composite index must be set on entity classes and must specify entity's fields to be indexed.
*/
export declare function Index(options?: IndexOptions): Function;
/**
* Composite index must be set on entity classes and must specify entity's fields to be indexed.
*/
export declare function Index(name: string, options?: IndexOptions): Function;
/**
* Composite index must be set on entity classes and must specify entity's fields to be indexed.
*/
export declare function Index(name: string, fields: string[], options?: IndexOptions): Function;
/**
* Composite index must be set on entity classes and must specify entity's fields to be indexed.
*/
export declare function Index(fields: string[], options?: IndexOptions): Function;
/**
* Composite index must be set on entity classes and must specify entity's fields to be indexed.
*/
export declare function Index(fields: (object: any) => any[], options?: IndexOptions): Function;
/**
* Composite index must be set on entity classes and must specify entity's fields to be indexed.
*/
export declare function Index(name: string, fields: (object: any) => any[], options?: IndexOptions): Function;