This is the ThingsDB documentation for version v0, click here for the latest version!
Delete a collection.
This function generates an event.
|name||str (required)||Name of the collection to delete.|
nil when successful. A lookup_err() is raised if the collection does not exist.
This code will delete collection stuff:
// Delete collection `stuff` del_collection('stuff');