query

package
v0.0.0-...-7c0fc5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Columns []string
	Rows    [][]string
}

Result holds the output of a query: column headers and data rows. This is the contract between the query engine and the UI layer.

func Execute

func Execute(sql string, tables map[string]*csv.Table) (*Result, error)

Execute parses and executes a SQL query against a set of named CSV tables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址