Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteExtraData ¶
type SQLiteExtraData struct {
EndMarks map[string]struct{}
}
SQLiteExtraData implements the ExtraData interface for SQLite
func (*SQLiteExtraData) IsBlockEnd ¶
func (e *SQLiteExtraData) IsBlockEnd(line string) bool
type SQLiteType ¶
type SQLiteType int
SQLiteType implements the SQLType interface for SQLite
const ( SQLiteTypeUnknown SQLiteType = iota SQLiteTypeSelect SQLiteTypeInsert SQLiteTypeUpdate SQLiteTypeDelete SQLiteTypeCreateTable SQLiteTypeCreateIndex SQLiteTypeCreateView SQLiteTypeCreateTrigger SQLiteTypeDrop SQLiteTypeAlter SQLiteTypeProcedure SQLiteTypeTransaction SQLiteTypeOther )
func (SQLiteType) AsInt ¶
func (t SQLiteType) AsInt() int
AsInt returns the integer representation of the SQL type
func (SQLiteType) IsBlock ¶
func (t SQLiteType) IsBlock() bool
IsBlock determines if the SQL type represents a block statement
func (SQLiteType) IsNull ¶
func (t SQLiteType) IsNull() bool
func (SQLiteType) String ¶
func (t SQLiteType) String() string
String returns the string representation of the SQL type
Click to show internal directories.
Click to hide internal directories.