ionic-orm-3
Version:
Data-mapper ORM for Ionic WebSQL and SQLite
21 lines (20 loc) • 781 B
TypeScript
import { OrderByCondition } from "../../find-options/OrderByCondition";
/**
* Describes all column's options.
*/
export interface TableOptions {
/**
* Specifies a default order by used for queries from this table when no explicit order by is specified.
*/
readonly orderBy?: OrderByCondition | ((object: any) => OrderByCondition | any);
/**
* Table's database engine type (like "InnoDB", "MyISAM", etc).
* Note that it used only during table creation.
* If you update this value and table is already created, it will not change table's engine type.
*/
readonly engine?: string;
/**
* Specifies if this table will be skipped during schema synchronization.
*/
readonly skipSchemaSync?: boolean;
}