Removing documents (persistent.deleteDocument)

You can use persistent.deleteDocument to remove a document from the database.

persistent.deleteDocuments(ddName, id);
Parameter Type Required Description
ddName String Yes Name of the document definition
id String Yes The ID of the document you want to delete


You can use the following method to delete a document with BizzStream ID 2FwMgqxxPv6i4j8rc:

persistent.saveDocument("project", "2FwMgqxxPv6i4j8rc");

results matching ""

    No results matching ""