Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingParameter ¶
type BindingParameter string
func NewBindingParameter ¶
func NewBindingParameter(b BindingType, value string) BindingParameter
func (BindingParameter) String ¶
func (b BindingParameter) String() string
type BindingType ¶
type BindingType int
const ( AUTOINCREMENTED BindingType = iota INDEXED COLON_NAMED AT_NAMED DOLAR_NAMED )
type DbPath ¶
type DbPath struct {
// contains filtered or unexported fields
}
func (*DbPath) StringColumn ¶
func (*DbPath) StringSchema ¶
func (*DbPath) StringTable ¶
type LiteralValue ¶
type LiteralValue string
const ( NULL_VALUE LiteralValue = "NULL" TRUE_VALUE LiteralValue = "TRUE" FALSE_VALUE LiteralValue = "FALSE" CURRENT_TIME_VALUE LiteralValue = "CURRENT_TIME" CURRENT_DATE_VALUE LiteralValue = "CURRENT_DATE" CURRENT_TIMESTAMP_VALUE LiteralValue = "CURRENT_TIMESTAMP" )
func (LiteralValue) String ¶
func (l LiteralValue) String() string
type SQLiteType ¶
type SQLiteType string
const ( NULL SQLiteType = "NULL" TEXT SQLiteType = "TEXT" INTEGER SQLiteType = "INTEGER" REAL SQLiteType = "REAL" BLOB SQLiteType = "BLOB" )
func GetSQLiteType ¶
func GetSQLiteType(t reflect.Type) (SQLiteType, bool)
getSQLiteType returns the appropriate SQLite type for a Go type
func NewSQLiteType ¶
func NewSQLiteType(value string) SQLiteType
func (SQLiteType) String ¶
func (t SQLiteType) String() string
Click to show internal directories.
Click to hide internal directories.