-
Notifications
You must be signed in to change notification settings - Fork 192
Field Mapping #1068
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
Labels
type: enhancement
A general enhancement
Comments
This does look a little weird and behaves a little weird but it's the same as at least one other spring-data implementation. |
This change to BasicCouchbasePersistentProperty would change the usage of the Field annotation as desired:
|
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want my
userId
in code to beuser_id
field in document.I was using the field to converting the field with
@Field(name = "user_id")
but it won't work
instead if I use:
@Field(value = "user_id")
it will work
I know in the doc it told us to use
@Field("user_id")
But I check the code, might be the code has written in the opposite way that caused this problem?
The text was updated successfully, but these errors were encountered: