attribute_definition and object_definition progress
This commit is contained in:
@@ -240,9 +240,9 @@ utils::result<std::vector<object::attribute_definition>, utils::error> postgres_
|
||||
// Todo: extract size
|
||||
auto type = (string2type(reader.column(2)));
|
||||
end = nullptr;
|
||||
object::null_option null_opt{object::null_option::NULLABLE};
|
||||
object::null_option_type null_opt{object::null_option_type::NULLABLE};
|
||||
if (strtoul(reader.column(4), &end, 10) == 0) {
|
||||
null_opt = object::null_option::NOT_NULL;
|
||||
null_opt = object::null_option_type::NOT_NULL;
|
||||
}
|
||||
// f.default_value(res->column(4));
|
||||
prototype.emplace_back(name, type, utils::null_attributes, null_opt, index);
|
||||
|
||||
Reference in New Issue
Block a user