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

x/acai_query/src/classes/queryStrategies/sql/strategy.ts>default

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

Properties

protected
client: Client

Methods

build(settings: Record<string, unknown>)
queryAdd<T = Record<string, ModelContent>>(table: string, fields: Partial<T>)
queryDelete(table: string, condition?: QueryPart)
querySelect<T = Record<string, ModelContent>>(
table: string,
fields?: (keyof T)[],
condition?: QueryPart,
)
queryUpdate<T = Record<string, ModelContent>>(
table: string,
fields: Partial<T>,
condition?: QueryPart,
)