I am creating a Resource
object on the client side to push to the database, and I can see it has an _id
when I console.log
it, but when I try to set something as resource._id
or resource.id
it's undefined
. Ideas?
Asked
Active
Viewed 40 times
0

AstroCB
- 12,337
- 20
- 57
- 73

Calvin Durrant
- 83
- 2
- 9
-
1Can u share the code – Nandish Mar 05 '15 at 09:44
-
Clarified and fixed some formatting issues; consider including some more code and being a bit more specific about your problem. – AstroCB Mar 05 '15 at 17:30
-
I have similar probelm, check this [link](http://stackoverflow.com/questions/28546568/how-to-loop-through-resource-returned-query-and-get-desired-value). – Hareesh Mar 07 '15 at 09:28
-
Thanks Hareesh, that helped me fix my problem :) and thanks AstroCB! – Calvin Durrant Mar 09 '15 at 10:01