> create table messages(
> body text,
> username text,
> tags set
> PRIMARY keys(username,tags)
> )
This statement is syntactically invalid, also you cannot use a collection type
in the primary key.
> 1) I should be able to query by username and get all the messages for
Hi Data Model Experts,
I have a few questions with data modelling for a particular application.
example
create table messages(
body text,
username text,
tags set
PRIMARY keys(username,tags)
)
Requirements
1) I should be able to query by username and get all the messages for a
particular usernam