public static Task DropPrimaryIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, Action <DropPrimaryQueryIndexOptions> configureOptions) { var options = new DropPrimaryQueryIndexOptions(); configureOptions(options); return(queryIndexManager.DropPrimaryIndexAsync(bucketName, options)); }
public static Task DropPrimaryIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName) { return(queryIndexManager.DropPrimaryIndexAsync(bucketName, DropPrimaryQueryIndexOptions.Default)); }