Reputation: 91
What is the query syntax for getting the list of all previously created tables? And how can I then view selected table fields?
Upvotes: 1
Views: 393
Reputation: 91
Get a description of the tables in your "sample_keyspace":
query GetTables {
keyspace(name: "sample_keyspace") {
name
tables {
name
columns {
name
kind
type {
basic
info {
name
}
}
}
}
}
}
Upvotes: 2