0
我想将红宝石哈希保存在数据库中,如 度量表具有名称,值字段。将哈希保存到文本字段中,然后在哈希表中查询where子句
metrics.create("Registered", '{"Gender": "Male", "Age": 21}')
我希望查询应该像这样运行。
select count(*) from metrics where name=“Registered” and values.age > 20
根据我所知,它不会工作。但是有没有可能做到这一点?
谢谢您回答我正在使用MySQL – Baran