CouchbaseVectorDelete
Syntax
couchbaseVectorDelete(cacheName, id)Parameters
Parameter
Type
Required
Description
Returns
Examples
Basic Deletion
// Delete a vector document
deleted = couchbaseVectorDelete(
cacheName = "default",
id = "vec_12345"
);
if (deleted) {
println("Document deleted");
} else {
println("Document not found");
}Delete with Confirmation
Delete User Document
Cleanup Old Documents
Batch Deletion
Delete Conversation History
Safe Deletion with Retry
Delete with Audit Log
Delete Article Chunks
Notes
Error Handling
Best Practices
Soft Delete Alternative
Related Functions
See Also
Last updated
Was this helpful?
