API Reference > imodelhub-client > iModelHubClient > VersionQuery VersionQuery Class Query object for getting Versions. You can use this to modify the VersionHandler.get results. Extends InstanceIdQuery Methods Name Description constructor(): VersionQuery byChangeSet(changeSetId: string): VersionQuery Query version by its ChangeSet id. byName(name: string): VersionQuery Query Version by its name. notHidden(): VersionQuery Query only not hidden versions. selectApplicationData(): VersionQuery Query will additionally select data about application that created this Version. Inherited methods Name Inherited from Description byId(id: string): VersionQuery InstanceIdQuery Query single instance by its id. filter(filter: string): VersionQuery InstanceIdQuery Set filter to the specified filter string. orderBy(orderBy: string): VersionQuery InstanceIdQuery Set order for the query. pageSize(n: number): VersionQuery InstanceIdQuery Select all entries from the query by pages. select(select: string): VersionQuery InstanceIdQuery Set select to specified select string. skip(n: number): VersionQuery InstanceIdQuery Skip first entries in the query. top(n: number): VersionQuery InstanceIdQuery Select only top entries from the query. Inherited properties Name Type Inherited from Description _query Protected RequestQueryOptions InstanceIdQuery Defined in clients/imodelhub/src/imodelhub/Versions.ts Line 79 Last Updated: 11 June, 2024