change model default unsafe for gdb

This commit is contained in:
John
2019-11-28 23:23:11 +08:00
parent 096bff791d
commit 0cfdf60de5

View File

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