mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Fix hstore_to_json_loose example in docs.
Marti Raudsepp.
This commit is contained in:
parent
4cff7b9dd6
commit
66c01707c6
@ -334,7 +334,7 @@ b
|
||||
<entry><function>hstore_to_json_loose(hstore)</function></entry>
|
||||
<entry><type>json</type></entry>
|
||||
<entry>get <type>hstore</type> as a json value, but attempting to distinguish numerical and boolean values so they are unquoted in the json</entry>
|
||||
<entry><literal>hstore_to_json('"a key"=>1, b=>t, c=>null, d=>12345, e=>012345, f=>1.234, g=>2.345e+4')</literal></entry>
|
||||
<entry><literal>hstore_to_json_loose('"a key"=>1, b=>t, c=>null, d=>12345, e=>012345, f=>1.234, g=>2.345e+4')</literal></entry>
|
||||
<entry><literal>{"a key": 1, "b": true, "c": null, "d": 12345, "e": "012345", "f": 1.234, "g": 2.345e+4}</literal></entry>
|
||||
</row>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user