column

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct{}

Detector resolves columns for shape-generated views.

Rules:

  • schema field order is canonical order
  • wildcard SQL always performs DB discovery
  • newly discovered columns are appended at the end
  • matched columns keep schema order but refresh metadata from DB

func New

func New() *Detector

func (*Detector) Resolve

func (d *Detector) Resolve(ctx context.Context, resource *view.Resource, aView *view.View) (view.Columns, error)

Jump to

Keyboard shortcuts

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