UNPKG

ts-sql-query

Version:

Type-safe SQL query builder like QueryDSL or JOOQ in Java or Linq in .Net for TypeScript with MariaDB, MySql, Oracle, PostgreSql, Sqlite and SqlServer support.

8 lines (7 loc) 296 B
import type { AnyDB } from "../databases"; import type { ITableOrViewRef } from "../utils/ITableOrView"; import type { type, viewName } from "../utils/symbols"; export interface VIEW<DB extends AnyDB, NAME extends string> extends ITableOrViewRef<DB> { [viewName]: NAME; [type]: 'view'; }