MCPcopy Create free account
hub / github.com/wyouflf/xUtils3 / dropTable

Method dropTable

xutils/src/main/java/org/xutils/db/table/DbBase.java:40–47  ·  view source on GitHub ↗
(Class<?> entityType)

Source from the content-addressed store, hash-verified

38 }
39
40 @Override
41 public void dropTable(Class<?> entityType) throws DbException {
42 TableEntity<?> table = this.getTable(entityType);
43 if (!table.tableIsExists()) return;
44 execNonQuery("DROP TABLE \"" + table.getName() + "\"");
45 table.setTableCheckedStatus(false);
46 this.removeTable(entityType);
47 }
48
49 @Override
50 public void dropDb() throws DbException {

Callers

nothing calls this directly

Calls 6

getTableMethod · 0.95
removeTableMethod · 0.95
tableIsExistsMethod · 0.80
setTableCheckedStatusMethod · 0.80
execNonQueryMethod · 0.65
getNameMethod · 0.45

Tested by

no test coverage detected