attaching schema nodes progress
This commit is contained in:
@@ -8,34 +8,31 @@ namespace matador::object {
|
||||
basic_object_info::basic_object_info(std::shared_ptr<schema_node> node,
|
||||
const std::type_index type_index,
|
||||
utils::identifier &&pk,
|
||||
std::shared_ptr<attribute_definition> &&pk_column,
|
||||
const std::shared_ptr<attribute_definition> &pk_column,
|
||||
object_definition &&definition)
|
||||
: node_(std::move(node))
|
||||
, type_index_(type_index)
|
||||
, definition_(std::move(definition))
|
||||
, identifier_(std::move(pk))
|
||||
, pk_column_(std::move(pk_column)) {
|
||||
, pk_column_(pk_column) {
|
||||
}
|
||||
|
||||
basic_object_info::basic_object_info(std::shared_ptr<schema_node> node,
|
||||
const std::type_index type_index,
|
||||
utils::identifier &&pk,
|
||||
std::shared_ptr<attribute_definition> &&pk_column)
|
||||
const std::shared_ptr<attribute_definition> &pk_column)
|
||||
: node_(std::move(node))
|
||||
, type_index_(type_index)
|
||||
, identifier_(std::move(pk))
|
||||
, pk_column_(std::move(pk_column)) {
|
||||
, pk_column_(pk_column) {
|
||||
}
|
||||
|
||||
basic_object_info::basic_object_info(std::shared_ptr<schema_node> node,
|
||||
const std::type_index type_index,
|
||||
object_definition &&definition)
|
||||
: node_(std::move(node))
|
||||
, type_index_(type_index)
|
||||
, definition_(std::move(definition)) {}
|
||||
|
||||
std::type_index basic_object_info::type_index() const {
|
||||
return type_index_;
|
||||
return node_->type_index();
|
||||
}
|
||||
|
||||
std::string basic_object_info::name() const {
|
||||
|
||||
Reference in New Issue
Block a user