supported
Supported public entry point. Import this entry point as @sheetwrite/queries.
Exported symbols
Classes 1
Functions 4
loadPowerQueryCodecLoads the Power Query codec for XLSX import and export.
loadQueryEngineLoads the query engine. Importing this package loads no WASM; this call, loadPowerQueryCodec and the queries add-on load it.
queriesAddonThe queries add-on. Each grid with a fetchSource, from options or from createGrid(host, { addons: { queries: { ...
querySessionOfThe query session of grid.
Interfaces 15
QueriesAddonOptionsOptions of the queries add-on, at init or for one grid.
QueryAggregateColumn is required except for countRows; numeric aggregates ignore nulls.
QueryBatchEqual-length columns with a u32 row count; returned buffers are owned by the caller.
QueryColumnSpecStable identity is separate from the field name used by source records.
QueryDiagnosticA stable failure code and optional coordinates, without source values or credentials.
QueryEngineRust performs parsing and every step; this interface does no source fetching.
QueryEngineOptionsHosts can provide the compiled artifact instead of using browser artifact loading.
QueryFetchContextThe signal aborts when the refresh is cancelled or the session is disposed.
QueryFetchRequestWhat the host must load for one saved query.
QueryInputOne execution-local named input, consumed by join steps without a result cache.
QueryLimitsPer-execution ceilings; expanding operations reject output before allocation.
QueryMixedLanesThe tag selects a compact lane; indexes address that lane or the error-code pool.
QueryRefreshOptionsThe signal cancels a pending refresh before it writes anything.
QuerySessionDefines, removes and refreshes the saved queries of one grid.
QuerySessionOptionsHost I/O for a session; the engine limits apply to every parse and execution.
Types 11
QueryColumnTyped host buffers; validity and sparse error lanes preserve null/error distinctions.
QueryColumnTypePhysical column types; mixed columns use compact typed payload lanes.
QueryDefinitionResultA definition the engine rejects, or the store's transaction result.
QueryFetchResultCSV and JSON sources return bytes; host sources return typed batches.
QueryFetchSourceThe only path to source data; the session never calls a global fetch.
QueryJoinKindJoin kinds retain duplicate matches and match null keys to null keys.
QueryOutputBlockWhy an output table could not be written without touching unrelated cells.
QueryPredicateData-only predicate trees use M null logic; only logical true selects a row.
QueryRefreshResultOne refresh commits every requested output in one transaction, or none.
QuerySourceHost-owned UTF-8 bytes are parsed against an explicit schema, without type guessing.
QueryStepSaved step order is execution order; each column reference is a stable identity.