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(offset: number,limit: number): string

Parameters:

  • offset: number
  • limit: number

Returns string


getStatement

▸ getStatement(): string

Returns string