datasource

package
v0.15.11 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsIdentifier

func ContainsIdentifier(query string, identifier string) bool

func IsSingleReadOnlyStatement

func IsSingleReadOnlyStatement(query string) bool

func QueryWithRowLimit

func QueryWithRowLimit(query string, rowLimit int64) string

func ReferencedTables

func ReferencedTables(query string, explicitTableNames []string, tables []TableConfig) []string

func ValidateReadOnlyQuery

func ValidateReadOnlyQuery(query string, explicitTableNames []string, tables []TableConfig) error

ValidateReadOnlyQuery enforces the app-runner safety boundary. Table inputs are retained for API compatibility; App Store owns table authorization.

Types

type TableConfig

type TableConfig struct {
	Name         string
	TenantColumn string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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