mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Cleanup in generated code
This commit is contained in:
parent
4ac4b1820b
commit
d75862365b
@ -175,7 +175,6 @@ for tableCreation in tableCreations:
|
|||||||
|
|
||||||
print(' struct ' + tableClass + ': ' + NAMESPACE + '::table_t<' + tableTemplateParameters + '>', file=header)
|
print(' struct ' + tableClass + ': ' + NAMESPACE + '::table_t<' + tableTemplateParameters + '>', file=header)
|
||||||
print(' {', file=header)
|
print(' {', file=header)
|
||||||
print(' using _value_type = ' + NAMESPACE + '::no_value_t;', file=header)
|
|
||||||
print(' struct _name_t', file=header)
|
print(' struct _name_t', file=header)
|
||||||
print(' {', file=header)
|
print(' {', file=header)
|
||||||
print(' static constexpr const char* _get_name() { return "' + sqlTableName + '"; }', file=header)
|
print(' static constexpr const char* _get_name() { return "' + sqlTableName + '"; }', file=header)
|
||||||
|
@ -60,7 +60,6 @@ namespace test
|
|||||||
TabFoo_::Epsilon,
|
TabFoo_::Epsilon,
|
||||||
TabFoo_::Omega>
|
TabFoo_::Omega>
|
||||||
{
|
{
|
||||||
using _value_type = sqlpp::no_value_t;
|
|
||||||
struct _name_t
|
struct _name_t
|
||||||
{
|
{
|
||||||
static constexpr const char* _get_name() { return "tab_foo"; }
|
static constexpr const char* _get_name() { return "tab_foo"; }
|
||||||
@ -143,7 +142,6 @@ namespace test
|
|||||||
TabBar_::Gamma,
|
TabBar_::Gamma,
|
||||||
TabBar_::Delta>
|
TabBar_::Delta>
|
||||||
{
|
{
|
||||||
using _value_type = sqlpp::no_value_t;
|
|
||||||
struct _name_t
|
struct _name_t
|
||||||
{
|
{
|
||||||
static constexpr const char* _get_name() { return "tab_bar"; }
|
static constexpr const char* _get_name() { return "tab_bar"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user