Exemple #1
0
        /// <summary>
        /// Drop a collection and all data + indexes
        /// </summary>
        public async Task <bool> DropCollectionAsync(string name)
        {
            if (name.IsNullOrWhiteSpace())
            {
                throw new ArgumentNullException(nameof(name));
            }

            return(await _engine.DropCollectionAsync(name));
        }