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

x/acai_query/src/abstractions/builder/interface.ts>default

A simple modular, scalable query builder that let you toggle strategies to easily, used and created by Açaí Framework
Latest
interface default
import { type default } from "https://deno.land/x/acai_query@0.3.0/src/abstractions/builder/interface.ts";

Methods

where(): AbstractQuery
orWhere(): AbstractQuery
toString(): string
raw(): QueryPart
get<ModelConfig = Record<string, string | number | boolean>>(fields?: (keyof ModelConfig | "*")[]): Promise<ModelConfig[]>
insert<T = Record<string, string | number | boolean>>(fields: T): Promise<number | string>
update<T = Record<string, string | number | boolean>>(fields: Partial<T>): Promise<number | string>
delete(): Promise<number>