Building an Analytics Chatbot for your SaaS app in 1 dayLivestream March 11

Skip to main content

MD_DELETE_DIVE

Preview
This feature is in preview and is subject to change.

Permanently deletes a Dive and all its versions. This action cannot be undone.

Syntax

SELECT * FROM MD_DELETE_DIVE(id = 'your-dive-uuid'::UUID);

Parameters

ParameterTypeRequiredDescription
idUUIDYesThe unique identifier of the Dive to delete

Return Columns

ColumnTypeDescription
successBOOLEANtrue if the Dive was deleted

Examples

Delete a Dive:

SELECT * FROM MD_DELETE_DIVE(id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'::UUID);

Errors

Returns an error if the Dive does not exist.