Not able to access data from collections


#1

Hi everyone,

I have a problem in accessing data from the stored collections, I have removed autopublish package and given permission for insert() in my Server.js but when I am trying to access data from the collections, I am getting this as a response

{“collection”:{“name”:“all_users”,"_docs":{"_map":{}},"_observeQueue":{"_tasks":[],"_running":false,"_runTimeout":null},“next_qid”:1,“queries”:{},"_savedOriginals":null,“paused”:false},“sorter”:null,“matcher”:{"_paths":{},"_hasGeoQuery":false,"_hasWhere":false,"_isSimple":true,"_selector":{}},“skip”:0,"_transform":null,“reactive”:true}

I am not able to detect the issue, Also, I think there is problem with fetching permission but I don’t understood that how to give permission to user to access database. I would be very thankful to solution provider.


#2

Without autopublish, you have to create publications for your collections yourself:


#3

Thanks hereby,

I will look at this.