摘要: 将单引号与双引号的替换,有时候在json处理中需要: dba@xxx ((none)) > select replace('xxxx"12345"677777','\"',"'"); + + | replace('xxxx"12345"677777','\"',"'") | + + | xxxx'1 阅读全文
posted @ 2020-11-12 17:53 igoodful 阅读(317) 评论(0) 推荐(0)
摘要: mongodb服务整体状态信息: db.runCommand( { serverStatus: 1 } ) db.serverStatus() 获取mongodb版本信息: glc-test:SECONDARY> db.runCommand({serverStatus:1}).version 4.0 阅读全文
posted @ 2020-11-12 14:56 igoodful 阅读(543) 评论(0) 推荐(0)