Skip to content
Sheetwrite

@sheetwrite/core

PowerQueryCodecinterface

Report a problem

On this page

Translates saved queries to and from Power Query M. Import reads text only: it never evaluates M or fetches a source. @sheetwrite/queries provides one.

Members

Methods

decode(section: string): PowerQueryImport;

Throws when the text is not a section Section1; document.

Declaration

View full TypeScript declaration
export interface PowerQueryCodec {
encode(queries: readonly SavedQuery[]): PowerQueryExport;
decode(section: string): PowerQueryImport;
}

Referenced by

Public exports naming PowerQueryCodec