Documentation
¶
Overview ¶
Package data is togo's data capability — a uniform Query interface over a pluggable source. The built-in `pg` backend queries the app's Postgres (the togo-framework/db superpowers image: pg_analytics for OLAP + pg_search for BM25 come for free, since they're just SQL against the same database). Federation backends query external sources:
data-bigquery Google BigQuery data-databricks Databricks SQL data-iceberg Apache Iceberg (open tables on object storage)
Select one with `togo provider:use data <name>` (or TOGO_DATA_PROVIDER). This repo is the MAIN plugin (contract + the `pg` default).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
Data runs a read query against the active source and returns rows.
func FromKernel ¶
FromKernel returns the active Data backend (or nil if none registered).
Click to show internal directories.
Click to hide internal directories.