Versions in this module Expand all Collapse all v1 v1.7.0 Sep 2, 2026 Changes in this version + type ColumnInfo struct + Global bool + Name string + Orderable bool + Searchable bool + Sort string + Title string + Type string + type Config struct + DefaultPageSize int + MaxPageSize int + Orderable []string + Searchable []string + Targetable []string + type Count struct + InPartition int64 + InQuery int64 + type CountFunc func(context.Context, *metaquery.Builder) (int64, error) + type Order struct + Field string + Order string + type Rendered struct + Partition string + Search string + func Shape(b *metaquery.Builder, req Request, cfg Config) (Rendered, error) + type Request struct + Ordering []Order + Page int + PageSize int + Partition string + Search string + ShowColumns bool + ShowCounts bool + type Response struct + Columns []ColumnInfo + Count *Count + Data []T + Rendered Rendered + func RunWithPartitionCount[T any](ctx context.Context, newBuilder func() *metaquery.Builder, req Request, ...) (Response[T], error) + func Run[T any](ctx context.Context, b *metaquery.Builder, req Request, cfg Config, ...) (Response[T], error) + type ScanFunc func(context.Context, *metaquery.Builder) (*metaquery.TypedResult[T], error) v1.2.0-rc2 Jun 10, 2026