0
私が引っ張ったいはどのようにJSON文字列の一部だけを選択して
{"nextPONumber":"3","poReportFooter":"This is the footer text for a purchase order report"}
を返すフィールドを持っているだけで
「これは、発注レポートのフッターテキストです」
SELECT
modulesetting.value AS footer_value
FROM modulesetting
WHERE modulesetting.key='purchasing'
使用[組み込みJSON関数(https://www.postgresql.org/docs/9.3/static/functions -json.html)。 – amphetamachine
フィールドの名前は何ですか? –
フィールドは{"nextPONumber": "3"、 "poReportFooter": "これは購入注文レポートのフッタテキスト"}を返しますfooter_valueです –