Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/justaos_orm/src/query/SelectQuery.ts>default

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 default
import { default } from "https://deno.land/x/justaos_orm@v7.1.0/src/query/SelectQuery.ts";

Constructors

new
default()

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