1
0
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:
chesedo
2017-01-11 12:51:32 +02:00
parent 90999717dd
commit 82d2ace3bd
4 changed files with 53 additions and 0 deletions

View File

@ -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