Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/lib/data/deps.ts>bld.Query

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
class bld.Query
import { bld } from "https://deno.land/x/hex@0.6.5/src/lib/data/deps.ts";
const { Query } = bld;

Type Parameters

T extends Record<string, unknown>

Properties

private
_placeholderCount: number
private
_query: string
private
_table: string

Methods

insert(data: T)
returning(...fields: string[])
select(...fields: string[])
table(name: string)
update(data: T)
where(
key: string,
condition: WhereCondition,
value: string | number | boolean,
)