vendor dependencies with dep
This commit is contained in:
parent
93d8310491
commit
1384296a47
2712 changed files with 965742 additions and 0 deletions
14
vendor/github.com/go-pg/pg/orm/result.go
generated
vendored
Normal file
14
vendor/github.com/go-pg/pg/orm/result.go
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package orm
|
||||
|
||||
// A Result summarizes an executed SQL command.
|
||||
type Result interface {
|
||||
Model() Model
|
||||
|
||||
// RowsAffected returns the number of rows affected by SELECT, INSERT, UPDATE,
|
||||
// or DELETE queries. It returns -1 if query can't possibly affect any rows,
|
||||
// e.g. in case of CREATE or SHOW queries.
|
||||
RowsAffected() int
|
||||
|
||||
// RowsReturned returns the number of rows returned by the query.
|
||||
RowsReturned() int
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue