mirror of
https://gitee.com/johng/gf
synced 2026-07-04 13:02:36 +08:00
change default value of safe from false to true for gdb.Model
This commit is contained in:
@ -69,7 +69,7 @@ func (c *Core) Table(table string) *Model {
|
||||
fields: "*",
|
||||
start: -1,
|
||||
offset: -1,
|
||||
safe: false,
|
||||
safe: true,
|
||||
option: OPTION_ALLOWEMPTY,
|
||||
}
|
||||
}
|
||||
@ -99,7 +99,7 @@ func (tx *TX) Table(table string) *Model {
|
||||
fields: "*",
|
||||
start: -1,
|
||||
offset: -1,
|
||||
safe: false,
|
||||
safe: true,
|
||||
option: OPTION_ALLOWEMPTY,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user