The codegen now can properly lookup array types.
Array type lookup failed previously because the typemapping class was not yet receiving the list of types from the database. Fix was to pass this data
This commit is contained in:
parent
287073afdc
commit
be0064f730
8 changed files with 34 additions and 20 deletions
|
|
@ -13,9 +13,9 @@ public:
|
|||
using TypeMap = std::unordered_map<Oid, QString>;
|
||||
using Mapping = std::pair<Oid, QString>;
|
||||
|
||||
TypeMappings();
|
||||
TypeMappings(std::shared_ptr<const PgTypeContainer> types = nullptr);
|
||||
|
||||
TypeMappings(std::initializer_list<Mapping> mappings);
|
||||
TypeMappings(std::shared_ptr<const PgTypeContainer> types, std::initializer_list<Mapping> mappings);
|
||||
|
||||
QString getTypeForOid(Oid oid) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue