ODataQueryBuilder class

Index

Constructors

Public Methods

Constructors


constructor

⊕ new ODataQueryBuilder(context: EqContext): ODataQueryBuilder

Parameters:


Public Methods


buildQuery

▸ buildQuery(): string | null

Returns string | null


getAttrPath

▸ getAttrPath(attr: string | EntityAttr): string[]

Parameters:

Returns string[]


getCountStatement

▸ getCountStatement(): string

Returns string


getPath

▸ getPath(): Tree<Entity>

Returns Tree<Entity>


getSkipTopStatement

▸ getSkipTopStatement(page?: number): string

Parameters:

  • page: number, Default value = 1

Returns string


getStatement

▸ getStatement(): string

Returns string