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

x/justaos_orm/src/core/query-builder/DML/InsertQuery.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
implements IQuery
import { default } from "https://deno.land/x/justaos_orm@v10.0.0/src/core/query-builder/DML/InsertQuery.ts";

Constructors

new
default()

Methods

buildQuery(): string
columns(columnNameOrObjectOrArray?: string | string[] | { [key: string]: boolean; }, ...otherColumns: string[]): InsertQuery

This method is used to set the columns for the insert query.

into(tableName: string): InsertQuery
returning(columnNameOrObjectOrArray?: string | string[] | { [key: string]: boolean; }, ...otherColumns: string[]): InsertQuery

This method is used to set the returning columns for the update query.

values(values?: any[]): InsertQuery