Properties
Private _computed
_computed: any
Private _groupby
_groupby: string
Private _method
_method: string
Private _select
_select: string[]
Private _where
_where: any
Methods
group_by
- group_by(field: string): TsQ
order_by
- order_by(field: string, direction?: string): TsQ
-
Parameters
-
field: string
-
Default value direction: string = "asc"
Returns TsQ
select
- select(...fields: any[]): TsQ
where
-
Parameters
-
f: function
-
-
Parameters
Returns boolean
Returns TsQ
Gets the data from class based on decorator configuration.