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

feat: add support for inequality filters #338

Merged
merged 2 commits into from
Jun 2, 2022

Conversation

hongalex
Copy link
Collaborator

What type of PR is this?
/kind feat

What this PR does / Why we need it:
Adds remaining support for inequality filters <, >, <=, >=. What this doesn't do is automatically create the datastore index required to support these. If these indexes are not created, QueryRecords will return an appropriate error from Datastore.

Which issue(s) this PR fixes:
Closes #336

Special notes for your reviewer:

@hongalex hongalex requested a review from yuryu May 23, 2022 23:50
Copy link
Member

@yuryu yuryu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with comments

internal/pkg/metadb/metadb.go Outdated Show resolved Hide resolved
internal/app/server/open_saves_test.go Show resolved Hide resolved
@hongalex hongalex merged commit ab6b1c9 into googleforgames:main Jun 2, 2022
@hongalex hongalex deleted the feat-query-filters branch June 2, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional filter operators support for QueryRecords
2 participants