Amar
Amar

Reputation: 11

Lagom Cassandra read before update

This is specific to Lagom Framework. During an update I do not have the complete data, I have a few alternate tables which needs to be updated as well, how do I do a read from my main table, so I have all they keys to perform an update on alternate tables.

Upvotes: 0

Views: 140

Answers (2)

Amar
Amar

Reputation: 11

Can you be a little more specific, I went through the documentation earlier but was not clear to me, I am doing a force read getById(id).invoke().toCompletableFuture().get(), but I was not sure if I am violating fundamental design of the framework

Upvotes: 0

Marko Švaljek
Marko Švaljek

Reputation: 2101

Please check the official docs on this one:

https://www.lagomframework.com/documentation/1.3.x/java/ReadSideCassandra.html

Upvotes: 0

Related Questions