change model default unsafe for gdb
@@ -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,
}
}
