刚刚安装了9.4并尝试使用JSONB字段类型。select statistics->'statistics'->'all_trades'->'all'->'all_trades_perc_profit' as profitable_perc FROM trade_statistics现在,我想根据字段值筛选结果:
select statistics->'statistics'->'all_trades'
我知道这可能是一项简单的任务,我在阅读其他问题的答案时发现,这段代码应该可以完成任务。#include<iostream>#include<string>
const char* filename = "integral_wh.out";
// Make sure the file stream is go