Deletes a collection from collection_index. Note that this does NOT
delete associated artworks - they will become orphaned (collection_uuid
will reference a non-existent collection).
Use with caution. Consider reassigning artworks to another collection before deletion.
Arguments
- collection
Character. Collection UUID. Validated with
artcore::validate_uuid()where applicable.- cn
Database connection. If NULL, creates a connection via
artcore::dbc()and closes it on exit. Pass an existing connection to batch multiple queries efficiently.
See also
Other data-modify:
add_artist(),
add_artwork(),
add_collection(),
update_artist_benchmarks(),
update_artist_stats()
