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) 300 B
import type { AnyDB } from "../databases"; import type { ITableOrViewRef } from "../utils/ITableOrView"; import type { tableName, type } from "../utils/symbols"; export interface TABLE<DB extends AnyDB, NAME extends string> extends ITableOrViewRef<DB> { [tableName]: NAME; [type]: 'table'; }