def _drop_collection(self, opts):
    (scope, collection) = self._get_scope_collection(opts.drop_collection)
    (_, errors) = self.rest.drop_collection(opts.bucket, scope, collection)
    _exit_if_errors(errors)
    _success('Collection dropped')
def _drop_collection(self, opts):
    (scope, collection) = self._get_scope_collection(opts.drop_collection)
    (_, errors) = self.rest.drop_collection(opts.bucket, scope, collection)
    _exit_if_errors(errors)
    _success('Collection dropped')