食料品CRUDでmysql AES復号化を使用してテーブル内のデータを照合する方法は?
次のようにcrud set realtionを取得中にエラーが発生しました:
$crud->set_relation(AES_DECRYPT(departments.department_id,'key'),'users.department_id','deparmtnet_name');
見つかりません: departments.AES_DECRYPT(departments.department_id,'key')
select user_name,department_name from users as j333 left join departments jd333 on departments.AES_DECRYPT(departments.department_id,'key')=j333.department_id