Apply TTL via CrudRepository.save(…) [DATACASS-534]
See original GitHub issueSanjayAgnani opened DATACASS-534 and commented
Hello guys , I would like to know if we can insert /update row with an feature of TTL in Spring Data Cassandra using repository interfaces. Able to delete/select based on below method declaration
@AllowFiltering
public void deleteByfirstnameAndLastname(String fn, String ln);
Looking for something similar to insert /save using TTL support
0 votes, 5 watchers
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
Spring Data - CrudRepository save() Method
Learn how to save and update entities to a database using Spring Data CrudRepository.
Read more >TTL support in spring boot application using spring-data- ...
Extend CassandraRepository to add save method that accepts TTL ... @Override public <S extends T> S save(S entity, int ttl) { InsertOptions ...
Read more >CrudRepository (Spring Data Core 3.0.0 API)
Saves a given entity. Use the returned instance for further operations as the save operation might have changed the entity instance completely.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi team, any update on this? Having this feature would be awesome!
Hi team, is any latest version supported for dynamic ttl values while inserting data? or when you are planning to include these feature?