Codegen now supports the database column type in the field template.
This allows for inserting it as a comment which is very useful while tweaking your typemappings as you can see what the input was.
This commit is contained in:
parent
be0064f730
commit
104ab5de1e
8 changed files with 49 additions and 19 deletions
|
|
@ -9,7 +9,7 @@ QString LanguageConfig::columnNameToFieldName(const QString& column_name) const
|
|||
return m_varNaming->transform(column_name);
|
||||
}
|
||||
|
||||
QString LanguageConfig::getTypeName(Oid dbtype) const
|
||||
TypeMappingResult LanguageConfig::getTypeName(Oid dbtype) const
|
||||
{
|
||||
return m_typeMappings->getTypeForOid(dbtype);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue