UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

19 lines (18 loc) 371 B
import { Connection, SelectQueryBuilder } from "../.."; /** * View options. */ export interface ViewOptions { /** * View name. */ name: string; /** * View expression. */ expression: string | ((connection: Connection) => SelectQueryBuilder<any>); /** * Indicates if view is materialized */ materialized?: boolean; }