Creating the view without storing the document

I am looking to store a single key value pair with the ability to lookup the key. Since the document doesnt contain any other information, it feels like i should not be saving the document to save the overhead.

Any ideas what I should be doing.

Thanks
M
I am using couchlite on Android

No, you have to have the documents. A view is just an index. What you’re asking for is like having a SQL index without a table; it can’t be done.

1 Like