Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erthalion/jsonbx
jsonbx extension for PostgreSQL 9.4
https://github.com/erthalion/jsonbx
Last synced: 2 months ago
JSON representation
jsonbx extension for PostgreSQL 9.4
- Host: GitHub
- URL: https://github.com/erthalion/jsonbx
- Owner: erthalion
- Created: 2014-05-02T05:15:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-26T12:50:45.000Z (about 9 years ago)
- Last Synced: 2023-03-23T01:46:06.059Z (almost 2 years ago)
- Language: C
- Homepage:
- Size: 82 KB
- Stars: 35
- Watchers: 9
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/erthalion/jsonbx.svg?branch=master)](https://travis-ci.org/erthalion/jsonbx)
jsonbx
======As you know, PostgreSQL introduced Jsonb [support](http://obartunov.livejournal.com/177247.html) at the 9.4 version, and hstore v2.0 saved in separate [repository](http://www.sigaev.ru/git/gitweb.cgi?p=hstore.git;a=summary). But although PostgreSQL has this support at the core level, there are many useful functions, which wasn't implemented for Jsonb, particularly there are not so many functions and operators for manipulation with jsonb. This repo will accumulate the implementation such kind of functions. Part of this functionality was already incorporated into PostgreSQL 9.5 (see this [commit](http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=c6947010ceb42143d9f047c65c1eac2b38928ab7)).
List of implemented functions
---------------------------------* jsonb_pretty (in 9.5)
* jsonb_concat (in 9.5)
* jsonb_delete(jsonb, text) (in 9.5)
* jsonb_delete_idx(jsonb, int) (in 9.5)
* jsonb_delete_path(jsonb, text[]) (in 9.5)
* jsonb_set(jsonb, text[], jsonb) (in 9.5)List of implemented operators
---------------------------------* concatenation operator (||) (in 9.5)
* delete key operator (jsonb - text) (in 9.5)
* delete key by index operator (jsonb - int) (in 9.5)
* delete key by path operator (jsonb - text[]) (in 9.5)License
-------jsonbx is licensed under [the same license as PostgreSQL itself](http://www.postgresql.org/about/licence/)
Contributors
------------jsonbx was created by Dmitry Dolgov
portions written by Andrew Dunstan