public int deleteByExtension ( String extensionName ) throws SQLException { DeleteBuilder < Extensions , Void > db = deleteBuilder ( ) ; db . where ( ) . eq ( Extensions . COLUMN_EXTENSION_NAME , extensionName ) ; int deleted = db . delete ( ) ; return deleted ; }
Delete by extension name