public static Task WatchAsync(this IQueryIndexes queryIndexes, string bucketName, IEnumerable <string> indexNames, Action <WatchQueryIndexOptions> configureOptions) { var options = new WatchQueryIndexOptions(); configureOptions(options); return(queryIndexes.WatchAsync(bucketName, indexNames, options)); }
public static Task BuildDeferredAsync(this IQueryIndexes queryIndexes, string bucketName, Action <BuildDeferredQueryIndexOptions> configureOptions) { var options = new BuildDeferredQueryIndexOptions(); configureOptions(options); return(queryIndexes.BuildDeferredAsync(bucketName, options)); }
public static Task DropPrimaryAsync(this IQueryIndexes queryIndexes, string bucketName, Action <DropPrimaryQueryIndexOptions> configureOptions) { var options = new DropPrimaryQueryIndexOptions(); configureOptions(options); return(queryIndexes.DropPrimaryAsync(bucketName, options)); }
public static Task CreateAsync(this IQueryIndexes queryIndexes, string bucketName, string indexName, IEnumerable <string> fields, Action <CreateQueryIndexOptions> configureOptions) { var options = new CreateQueryIndexOptions(); configureOptions(options); return(queryIndexes.CreateAsync(bucketName, indexName, fields, options)); }
public static Task <IEnumerable <QueryIndex> > GetAllAsync(this IQueryIndexes queryIndexes, string bucketName, Action <GetAllQueryIndexOptions> configureOptions) { var options = new GetAllQueryIndexOptions(); configureOptions(options); return(queryIndexes.GetAllAsync(bucketName, options)); }
public static Task WatchAsync(this IQueryIndexes queryIndexes, string bucketName, IEnumerable <string> indexNames) { return(queryIndexes.WatchAsync(bucketName, indexNames, WatchQueryIndexOptions.Default)); }
public static Task <IEnumerable <QueryIndex> > GetAllAsync(this IQueryIndexes queryIndexes, string bucketName) { return(queryIndexes.GetAllAsync(bucketName, GetAllQueryIndexOptions.Default)); }
public static Task BuildDeferredAsync(this IQueryIndexes queryIndexes, string bucketName) { return(queryIndexes.BuildDeferredAsync(bucketName, BuildDeferredQueryIndexOptions.Default)); }
public static Task DropPrimaryAsync(this IQueryIndexes queryIndexes, string bucketName) { return(queryIndexes.DropPrimaryAsync(bucketName, DropPrimaryQueryIndexOptions.Default)); }
public static Task CreateAsync(this IQueryIndexes queryIndexes, string bucketName, string indexName, IEnumerable <string> fields) { return(queryIndexes.CreateAsync(bucketName, indexName, fields, CreateQueryIndexOptions.Default)); }