Versions in this module Expand all Collapse all v0 v0.54.1 Jun 23, 2026 v0.54.0 Jun 19, 2026 Changes in this version + func ApplyEdits(input string, edits []Edit) (string, error) + func RewriteCreateIndexStmt(stmt, newIndexIdent, newTableIdent string) (string, error) + func RewriteCreateTriggerStmt(stmt, newTriggerIdent, newTableIdent string) (string, error) + type ColDef struct + DefCtx *sqlite.Column_defContext + InputOffset int + Name string + Raw string + RawName string + RawNameOffset int + RawType string + RawTypeOffset int + Type string + func ExtractCreateTableStmtColDefs(stmt string) ([]*ColDef, error) + func (cd *ColDef) String() string + type Edit struct + End int + Replacement string + Start int + type ForeignTableRef struct + RawTable string + Table string + TableOffset int + func ExtractForeignTableRefsFromCreateTableStmt(stmt string) ([]ForeignTableRef, error) + func (r ForeignTableRef) String() string + type TableIdent struct + RawSchema string + RawTable string + Schema string + SchemaOffset int + Table string + TableOffset int + func ExtractTableIdentFromCreateTableStmt(stmt string) (*TableIdent, error)