datatable

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.3.1020

Package datatable is the editor-side UI module for the seven datatable_* workflow nodes: get, exists, query, count, insert, upsert, delete.

One Module per node type registers a palette entry, a drawflow codec (round-trips the wf.Node fields the executor reads — Table, Where, Conditions, Key, RowValues, OrderBy, Limit, Offset), and a shared inspector partial. The inspector renders only the controls each op needs (e.g. `key` for get, `conditions` for query) by keying off the selected node's type.

Engine-side executor + descriptors live in internal/agents/workflow/nodes; see datatable.go there.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inspector

func Inspector() templ.Component

Inspector is the parameters-tab partial shared by all seven datatable_* node types. We tag the panel with every node type via data-node-type so editor.js shows it whichever variant is selected; per-op visibility happens inside the panel via data-when-op (driven by inspector.js).

Fields are name-keyed (caller-facing column names) — the server translates to column ids before storing. That matches how every other workflow node references columns (`{{.Node.X.priority}}`) so the YAML reads naturally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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