Closed Industrial closed 10 years ago
Could you check whether the id attribute is set correctly:
app.vios.collection.at(0).id
IIRC the .id
was not set correctly at that time, but since we've decided that supporting .id
instead of _id
at our API end points might be a good idea since it allows for easier switching of db layers, so I'm closing the ticket.
Hi.
I can't get iosync/iobind to play nicely with MongoDB powered backends. I have set the
idAttribute: '_id'
on the collection and gave it an URL and did a.fetch()
.This works fine if I change all _id's to id's on my server side, but that's not a change I am dieing to make since I'm using _id across all of my services.
gr,
Tom