Documentation ¶
Index ¶
- func InitFactory()
- type Factory
- func (m Factory) ConditionToSql(preTag bool, cnd define.Condition) (string, []interface{})
- func (m Factory) GetColumns(tableName string, db *sql.DB) ([]define.Column, error)
- func (m Factory) GetCurrentSchema(db *sql.DB) (string, error)
- func (m Factory) GetSqlFunc(sqlType define.SqlType) define.SqlFunc
- func (m Factory) GetTables(db *sql.DB) ([]string, error)
- func (m Factory) OpenDb(dsn string) (*sql.DB, error)
- type MyCndStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitFactory ¶ added in v3.0.3
func InitFactory()
Types ¶
type Factory ¶
type Factory struct { }
func (Factory) ConditionToSql ¶
func (Factory) GetColumns ¶
func (Factory) GetCurrentSchema ¶ added in v3.0.4
type MyCndStruct ¶
Click to show internal directories.
Click to hide internal directories.