mirror of
https://github.com/astaxie/beego.git
synced 2025-07-06 01:50:19 +00:00
Add strong relationship support to orm
This commit is contained in:
@ -406,6 +406,11 @@ type UintPk struct {
|
||||
Name string
|
||||
}
|
||||
|
||||
type PtrPk struct {
|
||||
ID *IntegerPk `orm:"pk;rel(one)"`
|
||||
Positive bool
|
||||
}
|
||||
|
||||
var DBARGS = struct {
|
||||
Driver string
|
||||
Source string
|
||||
|
Reference in New Issue
Block a user