This is experimental functionality, and as such subject to change. Use at your own risk!
Decomposing Replacer
Applies to ❌ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
This replacer decomposes compound queries into their component queries. Some DDL statements are compound statements, such as e.g.
ALTER TABLE t ADD col1 INT, ADD col2 INT;
The above single compound statement can be decomposed into its component statements:
ALTER TABLE t ADD col1 INT; ALTER TABLE t ADD col2 INT;
Some use-cases, including DDL interpretation may be better served by component statements rather than the compound version.
As this org.jooq.Replacer
has to adhere to the contract imposed on replacers, it can only operate on org.jooq.Queries
and other org.jooq.Query
wrapping elements, such as org.jooq.Block
and other procedural scope statements.
Feedback
Do you have any feedback about this page? We'd love to hear it!