mirror of
https://gitee.com/johng/gf
synced 2026-06-07 10:22:11 +08:00
change model default unsafe for gdb
This commit is contained in:
@ -74,7 +74,7 @@ func (bs *dbBase) Table(tables string) *Model {
|
||||
fields: "*",
|
||||
start: -1,
|
||||
offset: -1,
|
||||
safe: true,
|
||||
safe: false,
|
||||
option: OPTION_ALLOWEMPTY,
|
||||
}
|
||||
}
|
||||
@ -94,7 +94,7 @@ func (tx *TX) Table(tables string) *Model {
|
||||
fields: "*",
|
||||
start: -1,
|
||||
offset: -1,
|
||||
safe: true,
|
||||
safe: false,
|
||||
option: OPTION_ALLOWEMPTY,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user