Change default type for generating pgLab code to QString

This commit is contained in:
eelke 2018-11-17 10:16:48 +01:00
parent 104ab5de1e
commit 791db7dd80

View file

@ -27,7 +27,7 @@ std::shared_ptr<const TypeMappings> GetPglabCppTypeMappings(std::shared_ptr<con
{ float4_oid, "float" }, { float4_oid, "float" },
{ float8_oid, "double" } { float8_oid, "double" }
}); });
tm->setDefaultStringType("std::string"); tm->setDefaultStringType("QString");
tm->setDefaultContainerType("std::vector<%1>"); tm->setDefaultContainerType("std::vector<%1>");
return tm; return tm;
} }