c4db_deleteCollection

Function c4db_deleteCollection 

Source
pub unsafe extern "C" fn c4db_deleteCollection(
    db: *mut C4Database,
    spec: C4CollectionSpec,
    outError: *mut C4Error,
) -> bool
Expand description

Deletes the collection with the given name & scope. Deleting the last collection from a scope implicitly deletes the scope. @note It is legal to delete the default collection, but it cannot be re-created.