Support for DDL Operations #235
Replies: 7 comments 8 replies
-
My initial topics of discussions
|
Beta Was this translation helpful? Give feedback.
-
What is the real problem you are describing here? When you say Support for DDL Operations, do you really mean... My take has been that creation of data structures and schema is done with traditional DB tools. |
Beta Was this translation helpful? Give feedback.
-
We won't get into planning and design |
Beta Was this translation helpful? Give feedback.
-
Thanks @thadguidry I agree to your perspective! That's why when the original idea came to us, I wanted to have everyone's opinion on this here. IMHO, DDL and DB design are for a different set of consumers (e.g DBAs) and there are already many software are available to create the physical DB from logical diagrams. That's why I flagged the question, |
Beta Was this translation helpful? Give feedback.
-
@kdhrubo I agree with @thadguidry and @git-hub-abhishek. Let’s not mix DDL and DML in the same app. |
Beta Was this translation helpful? Give feedback.
-
There are millions of Spring Boots apps (I am sure in other frameworks too) with embedded Liquibase or Flyway handling DB evolution. Supporting DDL opens up a new possibility where DB2REST can also support DB evolution along with data access. |
Beta Was this translation helpful? Give feedback.
-
@kdhrubo, Technically DDL can be supported, but as you know API exposed are mainly business API which will be looking for CRUD operations. Creating tables using DDL through API may not be much useful features for the end users. Should we invest time on supporting DDL or better to invest time to make DML more robust and useful? |
Beta Was this translation helpful? Give feedback.
-
Should we also open up DB2REST for DDL? That way it can be a potential safe replacement for flyway or partially liquibase. Consumers can push SQL to git and then with curl or httpie use DB2REST to apply changes.
Beta Was this translation helpful? Give feedback.
All reactions