Improve support for declarative partitioning.

Generated SQL for a partition is now correct (atleast for simple cases)
Switched to C++ 20 so the ranges library can be used in this case
to filter unwanted items.
This commit is contained in:
eelke 2023-01-18 19:43:12 +01:00
parent 7a4d8f3410
commit 60fb4ce285
4 changed files with 92 additions and 38 deletions

View file

@ -79,6 +79,10 @@ public:
QString dropSql() const override;
QString createSql() const override;
bool isInherited() const
{
return inhcount > 0;
}
};