問題タブ [json-extract]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
sql - JSON から負の整数を抽出する
json_extract
PrestoSQL で関数を使用していますが、次のような値に負の整数を含むキーと値のペアが表示される場合
json_extract(json, '$.foo')
NULL を返しますが、
json_extract(json, '$.bar')
12345 を返します
json_extract_scalar
も同じものを生産します。
Presto で負の整数を抽出するための回避策は何ですか?
json - sqlite json-extract を使用してネストされた json を抽出する方法
sqlite json-extract または他の sqlite json コマンドを使用して、ネストされた json を抽出するにはどうすればよいですか?
ここでgiven_idを抽出したい
ありがとう。