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
Name | Type | Description |
---|---|---|
Container<T> | The related container with the data for the | |
O | The base base from where to create the |
Returns
The Projectable
statement created from the object provided.