Delete a table
You can delete a table. All data will be deleted along with the table schema.
# drop a table
mutation dropTableBook {
dropTable(keyspaceName:"library",
tableName:"article")
}
{
"data": {
"dropTable": true
}
}
IF EXISTS option
You can delete a table after checking that it exists with the ifExists
option.
All data will be deleted along with the table schema.