shad-go/lectures/07-sql/exec/result.go

7 lines
102 B
Go
Raw Permalink Normal View History

2020-04-09 11:15:34 +00:00
package exec
2020-04-08 19:20:23 +00:00
type Result interface {
2020-04-09 11:15:34 +00:00
LastInsertId() (int64, error)
RowsAffected() (int64, error)
2020-04-08 19:20:23 +00:00
}