Skip to main content
Module

x/typeorm/src/index.ts>QueryBuilder#select

Forked from https://github.com/typeorm/typeorm
Latest
method QueryBuilder.prototype.select
import { QueryBuilder } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Creates SELECT query. Replaces all previous selections if they exist.

Returns

SelectQueryBuilder<Entity>

Creates SELECT query and selects given data. Replaces all previous selections if they exist.

Parameters

selection: string
optional
selectionAliasName: string

Returns

SelectQueryBuilder<Entity>

Creates SELECT query and selects given data. Replaces all previous selections if they exist.

Parameters

selection: string[]

Returns

SelectQueryBuilder<Entity>