Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Backfill Features #8791

Merged
merged 6 commits into from
Jun 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,25 @@ public static Filter NotEqual(string propertyName, Value propertyValue) =>
/// Creates a filter to check that the specified property is in a given array of values.
/// </summary>
/// <param name="value">The name of the property. Must not be null.</param>
/// <param name="collection">The array of values to compare against. </param>
/// <param name="collection">The array of values to compare against. Must not be null. </param>
/// <returns>The newly created filter.</returns>
public static Filter In(string value, ArrayValue collection) =>
Property(value, collection, Operator.In);
public static Filter In(string value, ArrayValue collection)
{
GaxPreconditions.CheckNotNull(collection, nameof(collection));
return Property(value, collection, Operator.In);
}

/// <summary>
/// Creates a filter to check that the specified property is not in a given array of values.
/// </summary>
/// <param name="value">The name of the property. Must not be null.</param>
/// <param name="collection">The array of values to compare against. </param>
/// <param name="collection">The array of values to compare against. Must not be null.</param>
/// <returns>The newly created filter.</returns>
public static Filter NotIn(string value, ArrayValue collection) =>
Property(value, collection, Operator.NotIn);
public static Filter NotIn(string value, ArrayValue collection)
{
GaxPreconditions.CheckNotNull(collection, nameof(collection));
return Property(value, collection, Operator.NotIn);
}

/// <summary>
/// Creates a filter to check that the specified property is less than a given value.
Expand Down