public boolean delete ( long geoPackageId , String tableName ) { GeometryMetadataDataSource geomDs = new GeometryMetadataDataSource ( db ) ; geomDs . delete ( geoPackageId , tableName ) ; String whereClause = TableMetadata . COLUMN_GEOPACKAGE_ID + " = ? AND " + TableMetadata . COLUMN_TABLE_NAME + " = ?" ; String [ ] whereArgs = new String [ ] { String . valueOf ( geoPackageId ) , tableName } ; int deleteCount = db . delete ( TableMetadata . TABLE_NAME , whereClause , whereArgs ) ; return deleteCount > 0 ; }
Delete the database table name