has many generator progress
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
static void on_base(const BaseType&) {}
|
||||
template<typename PrimaryKeyType>
|
||||
void on_primary_key(const char * /*id*/, PrimaryKeyType &pk, const primary_key_attribute & = DefaultPkAttributes) {
|
||||
const auto value = pk_.as<PrimaryKeyType>();
|
||||
const auto value = pk_.convert<PrimaryKeyType>();
|
||||
if (!value) {
|
||||
// Todo: throw error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user