eelke
f0c1035378
Reorganize files in pglablib
...
The enitities and containers of the catalog now go into catalog subfolder
Models go into model
2018-12-16 11:31:33 +01:00
eelke
791db7dd80
Change default type for generating pgLab code to QString
2018-11-17 10:16:48 +01:00
eelke
104ab5de1e
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.
2018-11-17 10:14:31 +01:00
eelke
be0064f730
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
2018-11-17 09:47:50 +01:00
eelke
092ed67d5e
Working on generating string literals for inclusion in generated code.
2018-09-21 11:41:20 +02:00
eelke
0c3bb27e58
Further improvements to codegeneration the defaultcpp config is now called the PgLab
...
config as it is very specific to the PgLab codebase.
More hard programmed templates moved out of codebuilder to the language config.
2018-09-19 09:55:43 +02:00
eelke
f5145f36ed
wip: codegenerator, basic widget present for showing the generated code and specifying
...
parameters. Some code is also generated but it is not complete yet.
minimum still required
- field assignments
- properly format and escape the query string
2018-09-18 11:54:43 +02:00
eelke
8f4845d4d2
Lot of code for generating code. Working on unit tests.
2018-09-09 21:04:23 +02:00