]> git.8kb.co.uk Git - postgresql/pg_jsonb_opx/blob - README.md
Add missing files
[postgresql/pg_jsonb_opx] / README.md
1 jsonb_opx
2 =========
3
4 Missing operators for jsonb in PostgreSQL 9.4, this may contain some errors and bad form as it's primarily just experimentation (i'm not a frequent C programmer; but everyone has to start somewhere right?).  Please test that it suits your requirements before using in any production scenario.
5
6 Provides
7 --------
8
9 The following behave like hstore 1.x operators, i.e. without nested jsonb traversal
10
11 * deletion using **-** operator
12   * jsonb_delete(jsonb, text)
13   * jsonb_delete(jsonb, text[])
14   * jsonb_delete(jsonb, jsonb)
15 * concatenation using **||** operator
16   * jsonb_concat(jsonb, jsonb)
17 * replacement using **=#** operator
18   * jsonb_replace(jsonb, jsonb)
19
20 The following are intended to eventually function like hstore 2.0 operators
21
22 * deletion at chained path using **#-** operator
23     jsonb_delete_path(jsonb, text[])
24 * replacement at chained path using function
25     jsonb_replace_path(jsonb, text[], jsonb)