# Class: BaseQuery

Basic definition of Query class.

# Hierarchy

# Constructors

# Protected constructor

+ new BaseQuery(_conditions: IConditionExpr, _collection: string): BaseQuery

Parameters:

Name Type
_conditions IConditionExpr
_collection string

Returns: BaseQuery

# Properties

# Protected _collection

_collection: string


# Protected _conditions

_conditions: IConditionExpr

# Methods

# Abstract build

build(options: QueryBuildOptionsType): string

Parameters:

Name Type
options QueryBuildOptionsType

Returns: string


# Abstract let

let(value: LetExprType): BaseQuery

Parameters:

Name Type
value LetExprType

Returns: BaseQuery


# Abstract limit

limit(value: number): BaseQuery

Parameters:

Name Type
value number

Returns: BaseQuery


# Abstract offset

offset(value: number): BaseQuery

Parameters:

Name Type
value number

Returns: BaseQuery


# Abstract orderBy

orderBy(value: Record‹string, SortType›): BaseQuery

Parameters:

Name Type
value Record‹string, SortType

Returns: BaseQuery


# Abstract select

select(value?: ISelectType[] | string | undefined): BaseQuery

Parameters:

Name Type
value? ISelectType[] | string | undefined

Returns: BaseQuery


# Abstract useKeys

useKeys(value: [string]): BaseQuery

Parameters:

Name Type
value [string]

Returns: BaseQuery


# Abstract where

where(value: LogicalWhereExpr): BaseQuery

Parameters:

Name Type
value LogicalWhereExpr

Returns: BaseQuery