query.prepare("delete from DeletedItems where guid=:guid and type=:type");
query.bindValue(":guid", guid);
query.bindValue(":type", type);
if (!query.exec()) {
logger.log(logger.LOW, "Expunge deleted items failed.");
logger.log(logger.LOW, query.lastError());
}
}
public List<DeletedItemRecord> getAllDeleted() {
logger.log(logger.HIGH, "Entering DeletedTable.getAllDeleted");
List<DeletedItemRecord> list = new ArrayList<DeletedItemRecord>();