3 ms·
This sounds like heresy, but you can actually use Postgresql. It has a JSON column type that supports indexing! http://www.postgresql.org/docs/9.4/static/datat
by jxf 12y ago
This sounds like heresy, but you can actually use Postgresql. It has a JSON column type that supports indexing!
http://www.postgresql.org/docs/9.4/static/datatype-json.html http://www.postgresql.org/docs/9.4/static/datatype-json.html
- ahoge 12y agoPostgres also got hstore (key-value) and arrays. So, if you only need a little bit of flexibility on top, you can have that, too.
- jxf 12y ago`hstore` is good if you know for sure you'll never have nesting (because the values have to be primitive types). Otherwise, JSON is probably the safer, more reliable bet, though it's slightly slower.