has many fetch progress
This commit is contained in:
@@ -35,6 +35,12 @@ public:
|
||||
return primary_key_info_;
|
||||
}
|
||||
|
||||
template <typename Type>
|
||||
static primary_key_info resolve_object(const Type& obj) {
|
||||
primary_key_resolver resolver;
|
||||
return resolver.resolve(obj);
|
||||
}
|
||||
|
||||
template < class Type >
|
||||
void on_primary_key(const char *id, Type &pk, std::enable_if_t<std::is_integral_v<Type> && !std::is_same_v<bool, Type>>* = nullptr) {
|
||||
primary_key_info_.pk_column_name = id;
|
||||
|
||||
Reference in New Issue
Block a user