API reference > @kontsedal/olas-core > QuerySelectOptions
QuerySelectOptions type
createQuery's options with a select projection: the subscription reportsselect(data) instead of the cached value. The projection runs per subscriber; the cache keeps the raw value.
Signature:
typescript
type QuerySelectOptions<Args extends readonly unknown[], T, U> = QuerySubscriptionOptions<Args> & {
select: (data: T) => U;
};References: QuerySubscriptionOptions