# Db模型删除
删除数据表中数据。模型创建参考([模型创建](创建模型.md))
```java
//主键id删除
int delete = Db.model(Dtp.class).whereId(161).delete();
//where条件删除
int delete = Db.model(Dtp.class).where("uid", 1).delete();
//主键id删除
int dt_flag = Db.model(Dtp.class).delete(1);
```