the*_*enz 5 php postgresql json cakephp
我还没有找到一种方法来使用PostgreSQL的JSON运营商->,->>等等。
我希望能够以这种方式使用它们:
$this->MyModel->find('all', array('conditions'=>array("jsonfield->'key'"=>"value")
但这会导致如下错误:
Error: SQLSTATE[42703]: Undefined column: 7 ERROR: column MyModel.jsonfield->'key' does not exist LINE 1
| 归档时间: |
|
| 查看次数: |
495 次 |
| 最近记录: |