API Reference > itwin-client > iTwinServiceClients > WsgQuery WsgQuery Class Beta Base class for Query objects. Query objects are used to modify the results when getting instances. Methods Name Description constructor(): WsgQuery filter(filter: string): WsgQuery Set filter to the specified filter string. orderBy(orderBy: string): WsgQuery Set order for the query. pageSize(n: number): WsgQuery Select all entries from the query by pages. select(select: string): WsgQuery Set select to specified select string. skip(n: number): WsgQuery Skip first entries in the query. top(n: number): WsgQuery Select only top entries from the query. Properties Name Type Description _query Protected RequestQueryOptions Defined in clients/itwin/src/WsgQuery.ts Line 14 Last Updated: 12 June, 2024