delete()

Delete the collection instance.

Signature

delete(): NullCollectionDef

Description

The delete() method deletes the Collection instance.

Parameters

None

Return value

Type Description

NullCollectionDef

Collection deleted.

Examples

Collection.byName("Hello")!.delete()
Collection.byName("Hello") /* not found */

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!