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