If you have, for example, created your database table yourself and did not setup the $idx array, you can use the 'primaryKey' option to define the primary key field.
たとえばデータベースのテーブルを自分で作成した場合などで $idxを設定していない場合は、オプション 'primaryKey'を使用して主キーフィールドを定義することができます。 - PEAR