changed the way how the table name is set in a Model - added prepare_table() method
removed from Model: virtual void table_name(PT::TextStream & stream); added to Model: virtual void prepare_table(); virtual void table(const wchar_t * table_name); virtual void table(const wchar_t * schema_name, const wchar_t * table_name);
This commit is contained in:
+2
-4
@@ -77,11 +77,9 @@ public:
|
||||
field(L"code_int", code_int);
|
||||
}
|
||||
|
||||
|
||||
void table_name(PT::TextStream & stream)
|
||||
void prepare_table()
|
||||
{
|
||||
// schema.table_name or just table_name
|
||||
stream << "public.language";
|
||||
table(L"public", L"language");
|
||||
}
|
||||
|
||||
void after_insert()
|
||||
|
||||
Reference in New Issue
Block a user