code: function completeTask(task, callback) {
      database.serialize(function() {
        var delete_task = "DELETE FROM "+table_name+" WHERE "+table_name+".id = ?";
  
        log.debug('sqlite-adapter','Running query:',delete_task);
        database.run(delete_task, task.id, function(error) {
          if (error) {
            callback(error);
          }
          callback(error, this.changes);
        });
      });
    }
docs: /*
  Deletes the given task from the database. On error the provided
  callback is called with an error object, else with the number of
  affected rows. This function does not provide rollback.