-
Notifications
You must be signed in to change notification settings - Fork 19
[DOC-13700] Update EXTRACTDDL() to add new flags #471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/8.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good for the function and prepareds flag but just a suggestion if you could add another example where we donot specify the flags, meaning an empty "" which will give back all the DDL statements(create bucket/scope/collection/index/sequence/function/prepareds). Also if you could add examples for each of the flag separately like we have for index:
SELECT extractddl("travel-sample",{"flags":["index"]});
Else everything looks fine to me!
Co-authored-by: Simon Dew <39966290+simon-dew@users.noreply.github.com>
Added examples to show how to extract DDLs from all buckets and how to extract all supported DDL statements from a specific bucket by omitting flags. Also, since we already have 6 examples for this function, will leave it at that and skip adding examples for each individual flag. |
Sohoxic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Adds two new flags to the EXTRACTDDL function.
Jira: DOC-13700
Docs preview: EXTRACTDDL()
Preview credentials: Credentials for internal review
Note
These flags are supported only starting with the 8.0.1 update, so DO NOT MERGE until that version is available.