mirror of
https://gitee.com/johng/gf.git
synced 2024-11-30 03:07:45 +08:00
change default value of safe from false to true for gdb.Model
This commit is contained in:
parent
4d33b527b6
commit
f82f7ab199
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user