I wish to execute the following query:
SELECT value,occurredAt,venueName FROM Transaction_by_card WHERE card = 1234123412341234
and expect a few hundred results for each card, as is your regular credit card bill.
I was thinking about modelling the table like:
(card int, occurredAt timestamp, venueName text, value int PRIMARY KEY (card,timestamp) WITH CLUSTERING ORDER BY occurredAt desc)
Is that the best model for my use case?