mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
commit
ba95748b91
@ -147,7 +147,7 @@ print('#include <' + INCLUDE + '/char_sequence.h>', file=header)
|
|||||||
print('', file=header)
|
print('', file=header)
|
||||||
print('namespace ' + namespace, file=header)
|
print('namespace ' + namespace, file=header)
|
||||||
print('{', file=header)
|
print('{', file=header)
|
||||||
|
DataTypeError = False;
|
||||||
for create in tableCreations:
|
for create in tableCreations:
|
||||||
sqlTableName = create.tableName
|
sqlTableName = create.tableName
|
||||||
tableClass = toClassName(sqlTableName)
|
tableClass = toClassName(sqlTableName)
|
||||||
@ -156,7 +156,6 @@ for create in tableCreations:
|
|||||||
tableTemplateParameters = tableClass
|
tableTemplateParameters = tableClass
|
||||||
print(' namespace ' + tableNamespace, file=header)
|
print(' namespace ' + tableNamespace, file=header)
|
||||||
print(' {', file=header)
|
print(' {', file=header)
|
||||||
DataTypeError = False;
|
|
||||||
for column in create.columns:
|
for column in create.columns:
|
||||||
if column.isConstraint:
|
if column.isConstraint:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user