ionic-orm-2
Version:
Data-mapper ORM for Ionic WebSQL and SQLite
7 lines (6 loc) • 346 B
TypeScript
import { TableOptions } from "../options/TableOptions";
/**
* This decorator is used to mark classes that will be a tables. Database schema will be created for all classes
* decorated with it, and Repository can be retrieved and used for it.
*/
export declare function Table(name?: string, options?: TableOptions): (target: Function) => void;