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

Type parameters

Hierarchy

Implemented by

Index

Constructors

constructor

  • new IQuery(table: TTable): IQuery

Properties

$table

$table: TTable

conditions

conditions: ConditionGroup

Methods

clearGroupBy

  • clearGroupBy(): IQuery<TTable>

clearLimit

  • clearLimit(): IQuery<TTable>

clearOffset

  • clearOffset(): IQuery<TTable>

clearOrderBy

  • clearOrderBy(): IQuery<TTable>

clearSelect

  • clearSelect(): IQuery<TTable>

groupBy

limit

  • limit(limit: number): IQuery<TTable>

offset

  • offset(offset: number): IQuery<TTable>
  • Sets the index of the first item to be returned

    memberof

    Query

    Parameters

    • offset: number

    Returns IQuery<TTable>

orderBy

select

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

    memberof

    Criteria

    Parameters

    • fieldListSelector: function
        • Parameters

          • table: TTable

          Returns IField[]

    Returns IQuery<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