Unserialize through query at database level itself

后端 未结 8 529
清酒与你
清酒与你 2020-12-02 12:53

I have a column value stored in the database as:

a:2:{i:0;s:2:\"US\";i:1;s:2:\"19\";}

I want to unserialize it during the mysql

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 13:47

    For serialized arrays You can use function getPhpSerializedArrayValueByKey from here

提交回复
热议问题