Jsondb / jsondb-core

JsonDB a pure java database that stores its data as Json Files

Home Page:http://www.jsondb.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One file for each item in a collection

jansoren opened this issue · comments

Is it possible to create one file for each item in a collection?
I have a large document with alot of items that ends up beeing a realy large collection.

Would be nice with something like

@Document("MyDocument"+id)

You need some pagination, interesting idea, I am totally out of bandwidth, if you have time to raise a PR I would be happy to review it and incorporate it if its stable.

Do you have a suggestion of solution and can point me in the correct direction then I might get time to look into it.

I tried to extend the code with the feature to create one file for each item in a collection. But it was too extensive, so I ended up making a simpler solution here -> https://github.com/filelize/filelize-java