Documentation ¶
Index ¶
- Variables
- func InitModel() error
- type Cond
- type EngStmt
- func (tx *EngStmt) CheckExit(query interface{}, args ...interface{}) (bool, error)
- func (tx *EngStmt) Commit() error
- func (tx *EngStmt) Exec(query string, args ...interface{}) error
- func (s *EngStmt) FindOne(links interface{}, querystring string, args ...interface{}) (bool, error)
- func (tx *EngStmt) Get(bean interface{}) (b bool, e error)
- func (tx *EngStmt) GetAll(rowsSlicePtr interface{}) (b bool, e error)
- func (tx *EngStmt) GetCurrentSchema() (sc string)
- func (tx *EngStmt) HasSchema(tblName string) (bool, []string)
- func (s *EngStmt) Insert(bean interface{}) (bool, error)
- func (tx *EngStmt) Query(query interface{}, args ...interface{}) (*sql.Rows, error)
- func (tx *EngStmt) QueryRow(query interface{}, args ...interface{}) *sql.Row
- func (tx *EngStmt) Rollback() error
- func (tx *EngStmt) SETSchema(schema string) error
- func (tx *EngStmt) Uptade(bean interface{}) (bool, error)
- func (tx *EngStmt) Where(query interface{}, args ...interface{}) *EngStmt
- type EngineDb2
- type TableName
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TimeType = reflect.TypeOf(c_TIME_DEFAULT) ErrRecordNotFound = errors.New("record not found") )
Functions ¶
Types ¶
type EngStmt ¶
type EngStmt struct { sync.Locker Tx *sql.Tx Args []interface{} // contains filtered or unexported fields }
func (*EngStmt) GetCurrentSchema ¶
Click to show internal directories.
Click to hide internal directories.