Module

x/justaos_orm/mod.ts>SelectQuery

JUSTAOS's ORM (Object–relational mapping) tool is built for Deno and provides transparent persistence for JavaScript objects to Postgres database.
Go to Latest
class SelectQuery
import { SelectQuery } from "https://dotland.deno.dev/x/justaos_orm@v7.1.0/mod.ts";

Constructors

new
SelectQuery()

Methods

buildCountQuery(): string
buildQuery(): string
columns(...args: string[]): SelectQuery
from(tableName: string): SelectQuery
getColumns(): string[]
groupBy(...args: string[]): SelectQuery
limit(limit: number): SelectQuery
offset(offset: number): SelectQuery
orderBy(columnNameOrOrderList?: string | OrderByType[], direction?: OrderByDirectionType): SelectQuery
where(
column: string | number | boolean,
operator: any,
value?: any,
): QueryExpression
import SelectQuery
import { SelectQuery } from "https://dotland.deno.dev/x/justaos_orm@v7.1.0/mod.ts";