Documentation ¶
Index ¶
Constants ¶
View Source
const ( KeywordSelect = "SELECT" KeywordUpdate = "UPDATE" KeywordSet = "SET" KeywordInsert = "INSERT" KeywordDELETE = "DELETE" KeywordDISTINCE = "DISTINCT" KeywordFrom = "FROM" KeywordWhere = "WHERE" KeywordOrderBy = "ORDER BY" )
View Source
const ( KeywordIsNull = "IS NULL" KeywordIsNotNull = "IS NOT NULL" KeywordIn = "IN" KeywordNotIn = "NOT IN" KeywordLike = "LIKE" KeywordNotLike = "NOT LIKE" KeywordBetween = "BETWEEN" KeywordNotBetween = "NOT BETWEEN" KeywordAnd = "AND" KeywordOr = "OR" )
View Source
const ( KeywordEqual = "=" KeywordNotEqual = "<>" KeywordGreater = ">" KeywordNotGreater = "<=" KeywordLess = "<" KeywordNotLess = ">=" )
View Source
const ( Placeholder = "?" PlaceholderString = "?" PlaceholderNumeric = "?" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapper ¶ added in v1.4.4
type Mapper struct { types.Component *select_mapper.SelectMapper *select_mapper.SelectByPrimaryKeyMapper *select_mapper.SelectAllMapper *select_mapper.SelectExampleMapper // contains filtered or unexported fields }
func (*Mapper) DataSource ¶ added in v1.4.4
func (*Mapper) SetDB ¶ added in v1.4.4
func (a *Mapper) SetDB(db datasource.DB)
Click to show internal directories.
Click to hide internal directories.