vendor dependencies with dep
This commit is contained in:
parent
93d8310491
commit
1384296a47
2712 changed files with 965742 additions and 0 deletions
23
vendor/github.com/go-pg/pg/orm/relation.go
generated
vendored
Normal file
23
vendor/github.com/go-pg/pg/orm/relation.go
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
package orm
|
||||
|
||||
import "github.com/go-pg/pg/types"
|
||||
|
||||
const (
|
||||
HasOneRelation = 1 << iota
|
||||
BelongsToRelation
|
||||
HasManyRelation
|
||||
Many2ManyRelation
|
||||
)
|
||||
|
||||
type Relation struct {
|
||||
Type int
|
||||
Polymorphic bool
|
||||
Field *Field
|
||||
JoinTable *Table
|
||||
FKs []*Field
|
||||
|
||||
M2MTableName types.Q
|
||||
M2MTableAlias types.Q
|
||||
BasePrefix string
|
||||
JoinPrefix string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue