0.11.2 • Published 6 years ago

libpiggy v0.11.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

libpiggy Build Status npm version

Use a PostgreSQL database like a JSON document store.

Why?

On the surface using a relational database as a JSON document store might seem silly. Still, I think there are great reasons to choose this approach over something like Mongo.

  • You like PostgreSQL
  • Postgres JSON querying and indexing is powerful and capable
  • You like the option of using PostgreSQL queries, in addition to some of the more ORM-like abstractions incorporated here
  • You like the idea of prototyping data objects with the flexibility of schema-less JSON, but imagine yourself making changes to a more relational model in the future
  • For some reason you only have access to PostgreSQL, but prefer this approach
  • You like the watchTable functionality, and being able to create an easy, lightweight reactive database

Documentation

For now please look at the tests, and at the hapi-piggy module which implements this.

Testing

You'll need Docker and docker-compose available.

$ docker-compose up
$ npm test

Requirements

  • Node.js >= 6.0
  • PostgreSQL >= 9.5 (local tests use 9.6, Travis uses 9.5)

Todo

  • Documentation
  • Support nested btree indexes
  • Proper tests
0.11.2

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.7.8

7 years ago

0.7.7

7 years ago

0.7.6

7 years ago

0.7.5

7 years ago

0.7.4

7 years ago

0.7.3

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.8

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago