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.

6 lines (5 loc) 373 B
import type { AbstractConnection } from "./connections/AbstractConnection"; import type { AnyDB, TypeSafeDB, TypeUnsafeDB } from "./databases"; export type TyeSafeConnection<DB extends AnyDB & TypeSafeDB> = Connection<DB>; export type TyeUnsafeConnection<DB extends AnyDB & TypeUnsafeDB> = Connection<DB>; export type Connection<DB extends AnyDB> = AbstractConnection<DB>;