We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1621a93 commit 7e4bb00Copy full SHA for 7e4bb00
scylla/src/cluster/metadata.rs
@@ -197,7 +197,11 @@ pub struct Keyspace {
197
#[derive(Clone, Debug, PartialEq, Eq)]
198
pub struct Table {
199
pub columns: HashMap<String, Column>,
200
+ /// Names of the column of partition key.
201
+ /// All of the names are guaranteed to be present in `columns` field.
202
pub partition_key: Vec<String>,
203
+ /// Names of the column of clustering key.
204
205
pub clustering_key: Vec<String>,
206
pub partitioner: Option<String>,
207
}
0 commit comments