Skip to content

Conversation

mikereiche
Copy link
Collaborator

Expiration annotation on field will retrieve expiration in N1ql queries. Previously the annotation only allowed it to be used in a predicate.
Also consolidates META() substitution in N1qlQueryCreator and StringBasedN1qQueryParser.

Closes #1060.

  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our JIRA.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

@mikereiche mikereiche requested a review from daschl August 14, 2021 01:24
@mikereiche mikereiche merged commit 52b1832 into main Aug 16, 2021
@mikereiche mikereiche deleted the datacouch_1060_expiration_field_annotation branch September 14, 2021 17:12
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.

Support an @Expiry, @Expiration or @TTL annotation
2 participants