updated samples
- pikotools is in src subdirectory now - map_fields() -> fields() - prepare_table() -> table() - instead of pt::MainSpaceParser we have pt::MainOptionsParser now
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
int code_int;
|
||||
|
||||
|
||||
void map_fields()
|
||||
void fields()
|
||||
{
|
||||
field(L"id", id, FT::no_insertable | FT::no_updatable | FT::primary_key);
|
||||
field(L"english_name", english_name);
|
||||
@@ -77,9 +77,9 @@ public:
|
||||
field(L"code_int", code_int);
|
||||
}
|
||||
|
||||
void prepare_table()
|
||||
void table()
|
||||
{
|
||||
table(L"public", L"language");
|
||||
table_name(L"public", L"language");
|
||||
}
|
||||
|
||||
void after_insert()
|
||||
|
Reference in New Issue
Block a user