expranalysis

package
v0.40.5-0...-49b81b6 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCheckExpression

func ResolveCheckExpression(ctx *sql.Context, tableName string, sch schema.Schema, checkExpr string) (sql.Expression, error)

ResolveCheckExpression returns a sql.Expression for the check provided

func ResolveDefaultExpression

func ResolveDefaultExpression(ctx *sql.Context, tableName string, sch schema.Schema, col schema.Column) (sql.Expression, error)

ResolveDefaultExpression returns a sql.Expression for the column default or generated expression for the column provided

func ResolveExpression

func ResolveExpression(ctx *sql.Context, tableName string, predicateStr string) (sql.Expression, error)

ResolveExpression compiles a predicate or check constraint string into a sql.Expression resolved. Used to re-hydrate partial index predicates and check expressions from their string representation. It uses SELECT statement on the expression FROM given table.

Types

type SessionDbProvider

type SessionDbProvider interface {
	GenericProvider() sql.MutableDatabaseProvider
}

SessionDbProvider is a way to access the Dolt database provider without import cycles.

Jump to

Keyboard shortcuts

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