column, placeholder and column_value generator progress
This commit is contained in:
@@ -40,19 +40,6 @@ public:
|
||||
|
||||
static std::vector<column> generate(const object::repository &scm, const std::string &name, bool force_lazy = false);
|
||||
|
||||
template < class Type >
|
||||
static std::vector<column> generate_has_many_to_many(const object::repository &scm, const bool force_lazy = false) {
|
||||
const auto info = scm.info<Type>();
|
||||
if (!info) {
|
||||
return {};
|
||||
}
|
||||
std::vector<column> columns;
|
||||
column_generator gen(columns, scm, info.value().get().name(), force_lazy);
|
||||
Type obj;
|
||||
access::process(gen, obj);
|
||||
return columns;
|
||||
}
|
||||
|
||||
template < class V >
|
||||
void on_primary_key(const char *id, V &, const utils::primary_key_attribute& /*attr*/ = utils::default_pk_attributes) {
|
||||
push(id);
|
||||
|
||||
Reference in New Issue
Block a user