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:
parent
7a4d8f3410
commit
60fb4ce285
4 changed files with 92 additions and 38 deletions
|
|
@ -62,7 +62,9 @@ private:
|
|||
mutable QString createSqlCache;
|
||||
|
||||
QString createTableSql() const;
|
||||
QString generateBodySql(bool isPartition) const;
|
||||
QString generateInheritsSql() const;
|
||||
QString getPartitionOfName() const;
|
||||
QString generateTablespaceSql() const;
|
||||
QString createViewSql() const;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue