随笔分类 -  mysql

用mysql json 数组中的数组更新同一条记录的其他字段
摘要:表名:tb_test json字段: detailImgs 要取的json中的字段:value UPDATE tb_test aliasJOIN ( SELECT id, TRIM(BOTH '"' FROM Json_extract (detailImgs, "$[0].value") ) cit 阅读全文
posted @ 2018-11-20 11:32 杨杨^.^ 阅读(802) 评论(0) 推荐(0)
mysql General error: 1205 Lock wait timeout exceeded; try restarting transaction
摘要:mysql事务锁 阅读全文
posted @ 2018-11-09 10:52 杨杨^.^ 阅读(551) 评论(0) 推荐(0)