Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drizzle/mod.ts>SQL

Deno port of the drizzle-orm library
Latest
namespace SQL
Re-export
import { SQL } from "https://deno.land/x/drizzle@v0.23.85/mod.ts";
class SQL
implements SQLWrapper
Re-export
import { SQL } from "https://deno.land/x/drizzle@v0.23.85/mod.ts";

Constructors

new
SQL(queryChunks: SQLChunk[])

Type Parameters

optional
T = unknown

Properties

private
mapInlineParam
private
shouldInlineParams
_: { brand: "SQL"; type: T; }
readonly
queryChunks: SQLChunk[]

Methods

append(query: SQL): this
as(alias: string): SQL.Aliased<T>
deprecated
as<TData>(): SQL<TData>
deprecated
as<TData>(alias: string): SQL.Aliased<TData>
inlineParams(): this
mapWith<TDecoder extends DriverValueDecoder<any, any> | DriverValueDecoder<any, any>["mapFromDriverValue"]>(decoder: TDecoder): SQL<GetDecoderResult<TDecoder>>