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

update uuid value to null through mapper #58

Open
rahulsrivastava71 opened this issue May 22, 2015 · 5 comments
Open

update uuid value to null through mapper #58

rahulsrivastava71 opened this issue May 22, 2015 · 5 comments

Comments

@rahulsrivastava71
Copy link

Is there way out to update UUID value to null or blank in cassandra using mapper.
As in string we can do it by using ' ' .How to do it in case Of UUID

@valchkou
Copy link
Owner

you can do this if your UUID field is not a part of primary key
You may set null to object value and save or call deleteValue(fieldName)

@rahulsrivastava71
Copy link
Author

Thanks Eugene , but by deleting the field will i be able to update that value again, or the coloumn will be deleted permanentaly.
And if updatevalues function the last argument is object

@valchkou
Copy link
Owner

delete operation just deletes value, not a column and you can re-assign value again.
anyway I am working on fix for update.

@rahulsrivastava71
Copy link
Author

thanks Eugene, i have send you the issue also in one of my post in update .
when the issue is resolved please let me know.

@rahulsrivastava71
Copy link
Author

hi eugene is there information about fixing the update function of your mapper.

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

No branches or pull requests

2 participants