private function getInsertQuery($function, $ar, $arguments)
    {
        $keys = array_keys($arguments);

        return $function.' INTO `'.$ar->getDatabase().'`.`'.$ar->getTableName().
        '` ('.implode(', ', $keys).')'.
        ' VALUES(:'.implode(', :', $keys).')';
    }