Projectable

Description

Object that returns any kind of projectable data for a select query.

Methods

_getProjection(): T

Projectable

Description

Constant with the utils for Projectable objects.

Methods

createFrom<T extends ProjectableToken, O extends object>( container: Container<T>, object: O ): O & Projectable<T>

Factory function that allows to crete a Projectable from the object provided.

Parameters

NameTypeDescription
Container<T>

The related container with the data for the Projectable statement.

O

The base base from where to create the Projectable statement.

Returns

The Projectable statement created from the object provided.