Generator cleanup.

This commit is contained in:
go-jet 2019-06-23 18:55:57 +02:00
parent ee5d526d26
commit a44bd85d32
22 changed files with 97 additions and 92 deletions

View file

@ -139,18 +139,18 @@ func (u *updateStatementImpl) DebugSql() (query string, err error) {
return DebugSql(u)
}
func (u *updateStatementImpl) Query(db execution.Db, destination interface{}) error {
func (u *updateStatementImpl) Query(db execution.DB, destination interface{}) error {
return Query(u, db, destination)
}
func (u *updateStatementImpl) QueryContext(db execution.Db, context context.Context, destination interface{}) error {
func (u *updateStatementImpl) QueryContext(db execution.DB, context context.Context, destination interface{}) error {
return QueryContext(u, db, context, destination)
}
func (u *updateStatementImpl) Exec(db execution.Db) (res sql.Result, err error) {
func (u *updateStatementImpl) Exec(db execution.DB) (res sql.Result, err error) {
return Exec(u, db)
}
func (u *updateStatementImpl) ExecContext(db execution.Db, context context.Context) (res sql.Result, err error) {
func (u *updateStatementImpl) ExecContext(db execution.DB, context context.Context) (res sql.Result, err error) {
return ExecContext(u, db, context)
}