pure-orm
Version:
A SQL Toolkit based on pure business objects passed to and from stateful data access objects
19 lines (18 loc) • 574 B
TypeScript
import { IModel, ICollection, IColumns } from '../../../src/index';
export declare const tableName: string;
export declare const columns: IColumns;
export declare class Customer implements IModel {
id: number;
email: string;
constructor(props: any);
}
export declare class Customers implements ICollection<Customer> {
models: Array<Customer>;
constructor({ models }: any);
}
export declare const customerEntity: {
tableName: string;
columns: import("../../../src/core").IColumn[];
Model: typeof Customer;
Collection: typeof Customers;
};