Skip to main content

drop_table

Function drop_table 

Source
pub async fn drop_table(alias: &str, table: &str) -> QuickDbResult<()>
Expand description

便捷函数 - 删除表/集合

如果表不存在则直接返回成功,存在则执行删除操作

§参数

  • alias - 数据库别名
  • table - 表名或集合名