Python - collection.doc.delete()
Delete a document from a collection.
from nitric.resources import collectionprofiles = collection('profiles').allow('deleting')drakes_profile = profiles.doc('Drake Mallard')await drakes_profile.delete()
See also
Last updated on Dec 24, 2024