Page 1 of 1

linking users to their tasks in another collection?

Posted: Wed Jul 23, 2014 11:01 pm
by Ololade

I need for users to be able to keep their own lists of information

I followed the tutorial for the "to-do" list app but now, every registered user I login with adds to and sees the same list of items... (FYI I created 3 fake users in the database for testing)

I'm more familiar with relational databases so I guess I'm also a little uncertain of how to link a user (in the user collection) to their specific information in another collection... Can this be done using appery?

How do I fix this??


linking users to their tasks in another collection?

Posted: Wed Jul 23, 2014 11:12 pm
by Alena Prykhodko

Hello,

For this purpose you can use pointer type, please find more here http://devcenter.appery.io/documentat...


linking users to their tasks in another collection?

Posted: Thu Jul 24, 2014 2:43 pm
by Ololade

Thank you for your quick response :) i'm totally new to MongoDB, is there an example of how to use the pointer type somewhere? (I'm panicking a little because i'm on a deadline)


linking users to their tasks in another collection?

Posted: Thu Jul 24, 2014 7:20 pm
by Evgene Karachevtsev