crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
30025a0d
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
sqlfmt
/
schema_fmt.go
Search
History
304 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
FmtCol
(indent, nameWidth, typeWidth int, col schema.Column)
:
string
FmtColWithNameAndType
(indent, nameWidth, typeWidth int, colName, typeStr string, col schema.Column)
:
string
FmtColPrimaryKey
(indent int, colStr string, newline bool)
:
string
FmtIndex
(index schema.Index)
:
string
FmtForeignKey
(fk doltdb.ForeignKey, sch, parentSch schema.Schema)
:
string
DropTableStmt
(tableName string)
:
string
DropTableIfExistsStmt
(tableName string)
:
string
AlterTableAddColStmt
(tableName string, newColDef string)
:
string
AlterTableModifyColStmt
(tableName string, newColDef string)
:
string
AlterTableDropColStmt
(tableName string, oldColName string)
:
string
AlterTableRenameColStmt
(tableName string, oldColName string, newColName string)
:
string
AlterTableDropPks
(tableName string)
:
string
AlterTableAddPrimaryKeys
(tableName string, pks *schema.ColCollection)
:
string
RenameTableStmt
(fromName string, toName string)
:
string
AlterTableAddIndexStmt
(tableName string, idx schema.Index)
:
string
AlterTableDropIndexStmt
(tableName string, idx schema.Index)
:
string
AlterTableAddForeignKeyStmt
(fk doltdb.ForeignKey, sch, parentSch schema.Schema)
:
string
AlterTableDropForeignKeyStmt
(fk doltdb.ForeignKey)
:
string
All occurrences
Please wait...
Page is in error, reload to recover