API Reference > imodeljs-clients > iModelHubClient > VersionQuery VersionQuery Class Beta Query object for getting Versions. You can use this to modify the VersionHandler.get results. Extends InstanceIdQuery Methods Name Description byChangeSet(changeSetId: string): this Query version by its ChangeSet id. byName(name: string): this Query Version by its name. selectThumbnailId(...sizes: ThumbnailSize[]): this Query will additionally select ids of Thumbnails for given ThumbnailSizes. Beta 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 core/clients/src/imodelhub/Versions.ts Line 62 Last Updated: 13 June, 2024