Versions in this module Expand all Collapse all v1 v1.0.0 Aug 21, 2026 Changes in this version + func EscapeStringForSQL(s string) string + type ColumnInfo struct + Attnum int + CharacterMaximumLength sql.NullInt64 + ColumnDefault sql.NullString + ColumnName string + Comment sql.NullString + DataType string + DatetimePrecision sql.NullInt64 + IsNullable string + NumericPrecision sql.NullInt64 + NumericScale sql.NullInt64 + OrdinalPosition int + UdtName string + type CommentInfo struct + Comment string + ObjectName string + ObjectType string + SubObjName string + type EventInfo struct + Command string + JobName string + Schedule string + type ForeignKeyDef struct + ColumnName string + ConstraintName string + ReferencedColumn string + ReferencedTable string + type FunctionInfo struct + FuncDefinition string + type IndexInfo struct + IndexDefinition string + IndexName string + IsPrimary bool + IsUnique bool + type PostgreSQLExtraData struct + DollarQuote string + EndMarks map[string]struct{} + InDollarQuote bool + func (e *PostgreSQLExtraData) InRawBlock() bool + func (e *PostgreSQLExtraData) IsBlockEnd(line string) bool + type PostgreSQLType int + const PostgreSQLTypeAlter + const PostgreSQLTypeCreateFunction + const PostgreSQLTypeCreateIndex + const PostgreSQLTypeCreateProcedure + const PostgreSQLTypeCreateTable + const PostgreSQLTypeCreateTrigger + const PostgreSQLTypeCreateView + const PostgreSQLTypeDelete + const PostgreSQLTypeDrop + const PostgreSQLTypeInsert + const PostgreSQLTypeOther + const PostgreSQLTypeSelect + const PostgreSQLTypeTransaction + const PostgreSQLTypeUnknown + const PostgreSQLTypeUpdate + func (t PostgreSQLType) AsInt() int + func (t PostgreSQLType) IsBlock() bool + func (t PostgreSQLType) IsNull() bool + func (t PostgreSQLType) String() string + type PrimaryKeyInfo struct + Attnum int + ColumnName string + type ProcedureInfo struct + ProcDefinition string + ProcKind string + ProcName string + type TriggerInfo struct + TriggerDefinition string + TriggerName string + type ViewInfo struct + ViewDefinition string