sql >> データベース >  >> RDS >> Mysql

Codeigniter ActiveRecord:バックティックに参加する

    単純な回避策であり、醜く、エレガントではありませんが、この場合は機能します:

    $original_reserved = $this->db->_reserved_identifiers;
    $this->db->_reserved_identifiers[] = 5;
    $this->db->_reserved_identifiers[] = 1;
    // or any other values
    $this->db->join('with critical values and conditions');
    // some db-stuff
    $this->db->_reserved_identifiers = $original_reserved;
    

    誰かがもっとよく知っているなら、それを見せてください!



    1. SQLAlchemy-テーブルのリストを取得する

    2. Node.jsmysqlクエリ構文はUPDATEWHEREを発行します

    3. 番号順? IPアドレスの並べ替えを手伝ってください

    4. MySQLでソース-レプリカレプリケーションを構成する方法