def delete_from_table(table,condition)
    raise ArgumentError if !table
    quests,vals = Database.make_where_params(condition,'AND')
    query = "DELETE FROM \"#{table}\" WHERE #{quests}"
    execute_sql query, vals
  end
def delete_from_table(table,condition)
    raise ArgumentError if !table
    quests,vals = Database.make_where_params(condition,'AND')
    query = "DELETE FROM \"#{table}\" WHERE #{quests}"
    execute_sql query, vals
  end
deletes rows from a table which satisfy condition (hash)
 example usage is the following:
 delete_from_table('object_values',{"object"=>"some-object"})
 this would execute the following sql:
 delete from object_values where object="some-object"