IModelQuery Class

Beta

Query object for getting HubIModel instances. You can use this to modify the IModelsHandler.get results.

Extends

Methods

Name Description
byName(name: string): this Query iModel by its name.  

Inherited methods

Name Inherited from Description
byId(id: GuidString): this InstanceIdQuery Query single instance by its id.
filter(filter: string): this WsgQuery Set filter to the specified filter string.
orderBy(orderBy: string): this WsgQuery Set order for the query.
pageSize(n: number): this WsgQuery Select all entries from the query by pages.
select(select: string): this WsgQuery Set select to specified select string.
skip(n: number): this WsgQuery Skip first entries in the query.
top(n: number): this WsgQuery Select only top entries from the query.

Inherited properties

Name Type Inherited from Description
_query Protected RequestQueryOptions WsgQuery  

Defined in

Last Updated: 08 January, 2020