@cashfarm/store
Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • new Query(table: TTable): Query

Properties

$table

$table: TTable

_groupBy

_groupBy: Field[]

_limit

_limit: number

_offset

_offset: number

_orderBy

_orderBy: IOrderByCriteria[]

_select

_select: Set<Field>

conditions

conditions: ConditionGroup

Accessors

GroupBy

GroupBy:

Limit

Limit:

Offset

Offset:

OrderBy

OrderBy:

Select

Select:

Methods

buildGroupCondition

buildWhere

  • buildWhere(): string

clearGroupBy

  • clearGroupBy(): Query<TTable>

clearLimit

  • clearLimit(): Query<TTable>

clearOffset

  • clearOffset(): Query<TTable>

clearOrderBy

  • clearOrderBy(): Query<TTable>

clearSelect

  • clearSelect(): Query<TTable>

groupBy

limit

  • limit(limit: number): this

offset

  • offset(offset: number): this

orderBy

select

  • select(fieldListSelector: function): Query<TTable>
  • Defines the set of fields that will be selected from the table.

    memberof

    Criteria

    Parameters

    • fieldListSelector: function
        • (table: TTable): Field[]
        • Parameters

          • table: TTable

          Returns Field[]

    Returns Query<TTable>

toString

  • toString(): string

where

whereAll

whereAny

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc