Documentation ¶
Index ¶
- Constants
- type MysqlStore
- type SqlGenMysql
- func (gen *SqlGenMysql) GetSqlCreateTable(tableName string) string
- func (gen *SqlGenMysql) GetSqlDelete(tableName string) string
- func (gen *SqlGenMysql) GetSqlDeleteFolderChildren(tableName string) string
- func (gen *SqlGenMysql) GetSqlDropTable(tableName string) string
- func (gen *SqlGenMysql) GetSqlFind(tableName string) string
- func (gen *SqlGenMysql) GetSqlInsert(tableName string) string
- func (gen *SqlGenMysql) GetSqlListExclusive(tableName string) string
- func (gen *SqlGenMysql) GetSqlListInclusive(tableName string) string
- func (gen *SqlGenMysql) GetSqlUpdate(tableName string) string
Constants ¶
View Source
const (
CONNECTION_URL_PATTERN = "%s:%s@tcp(%s:%d)/%s?charset=utf8"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlStore ¶
type MysqlStore struct {
abstract_sql.AbstractSqlStore
}
func (*MysqlStore) GetName ¶
func (store *MysqlStore) GetName() string
func (*MysqlStore) Initialize ¶
func (store *MysqlStore) Initialize(configuration util.Configuration, prefix string) (err error)
type SqlGenMysql ¶
type SqlGenMysql struct { CreateTableSqlTemplate string DropTableSqlTemplate string UpsertQueryTemplate string }
func (*SqlGenMysql) GetSqlCreateTable ¶
func (gen *SqlGenMysql) GetSqlCreateTable(tableName string) string
func (*SqlGenMysql) GetSqlDelete ¶
func (gen *SqlGenMysql) GetSqlDelete(tableName string) string
func (*SqlGenMysql) GetSqlDeleteFolderChildren ¶
func (gen *SqlGenMysql) GetSqlDeleteFolderChildren(tableName string) string
func (*SqlGenMysql) GetSqlDropTable ¶
func (gen *SqlGenMysql) GetSqlDropTable(tableName string) string
func (*SqlGenMysql) GetSqlFind ¶
func (gen *SqlGenMysql) GetSqlFind(tableName string) string
func (*SqlGenMysql) GetSqlInsert ¶
func (gen *SqlGenMysql) GetSqlInsert(tableName string) string
func (*SqlGenMysql) GetSqlListExclusive ¶
func (gen *SqlGenMysql) GetSqlListExclusive(tableName string) string
func (*SqlGenMysql) GetSqlListInclusive ¶
func (gen *SqlGenMysql) GetSqlListInclusive(tableName string) string
func (*SqlGenMysql) GetSqlUpdate ¶
func (gen *SqlGenMysql) GetSqlUpdate(tableName string) string
Click to show internal directories.
Click to hide internal directories.