Versions in this module Expand all Collapse all v1 v1.7.3 Feb 28, 2026 v1.7.2 Feb 20, 2026 v1.7.1 Feb 16, 2026 v1.7.0 Feb 9, 2026 Changes in this version + const IgnoreFileName + func ApplyPlanDBEnvVars(cmd *cobra.Command, hostPtr, dbPtr, userPtr, passwordPtr *string, portPtr *int) + func Connect(config *ConnectionConfig) (*sql.DB, error) + func ExecContextWithLogging(ctx context.Context, db *sql.DB, sqlStmt string, description string) (sql.Result, error) + func GetEnvIntWithDefault(envVar string, defaultValue int) int + func GetEnvWithDefault(envVar, defaultValue string) string + func GetIRFromDatabase(host string, port int, db, user, password, schemaName, applicationName string, ...) (*ir.IR, error) + func LoadIgnoreFile() (*ir.IgnoreConfig, error) + func LoadIgnoreFileFromPath(filePath string) (*ir.IgnoreConfig, error) + func LoadIgnoreFileWithStructure() (*ir.IgnoreConfig, error) + func LoadIgnoreFileWithStructureFromPath(filePath string) (*ir.IgnoreConfig, error) + func PreRunEWithEnvVars(dbPtr, userPtr *string) func(*cobra.Command, []string) error + func PreRunEWithEnvVarsAndConnection(dbPtr, userPtr *string, hostPtr *string, portPtr *int) func(*cobra.Command, []string) error + func PreRunEWithEnvVarsAndConnectionAndApp(dbPtr, userPtr *string, hostPtr *string, portPtr *int, appNamePtr *string) func(*cobra.Command, []string) error + func ValidatePlanDBFlags(planHost, planDB, planUser string) error + type ConnectionConfig struct + ApplicationName string + Database string + Host string + Password string + Port int + SSLMode string + User string + type FunctionIgnoreConfig struct + Patterns []string + type ProcedureIgnoreConfig struct + Patterns []string + type SequenceIgnoreConfig struct + Patterns []string + type TableIgnoreConfig struct + Patterns []string + type TomlConfig struct + Functions FunctionIgnoreConfig + Procedures ProcedureIgnoreConfig + Sequences SequenceIgnoreConfig + Tables TableIgnoreConfig + Types TypeIgnoreConfig + Views ViewIgnoreConfig + type TypeIgnoreConfig struct + Patterns []string + type ViewIgnoreConfig struct + Patterns []string