Last active
February 23, 2025 18:17
Example CQL Statement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE messages ( | |
channel_id bigint, | |
bucket int, | |
message_id bigint, | |
author_id bigint, | |
content text, | |
PRIMARY KEY ((channel_id, bucket), message_id) | |
) WITH CLUSTERING ORDER BY (message_id DESC); |
Sneaking in a cat, meow :)
😿
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
damn