0
Yii2では、親と子の2つのテーブルを考えてみましょう。子が親との関係を持っている場合、書き込みがクエリに参加しながら、それがCodeigniter:yii2のような連想配列
Parent[id => 1,
firstname => "John",
lastName => "Miller"
child => [id : 1,
address : some address,
contact number : some nubmer
]
]
ような結果を生成します。しかしCodeignitorで、それはMySQLのクエリの出力と同じように表示されます。 CodeIgnitorで私の要件を達成する方法。
ありがとうございました。
[MY_Model](https://github.com/avenirer/CodeIgniter-MY_Model)の内容を確認してください。 – Tpojka