Hey there,
Im trying to create a model like this:
var MyModel = Backbone.Model.extend({
idAttribute: '_id',
sync: BackbonePouch.sync({
db: new PouchDB('mydb')
})
defaults:{
...
}
});
but also with attachments support, so i can create a model with some data and a file attached but im not being able to do it :S
Can someone help?
Best Regards,
3nvy
Hey there,
Im trying to create a model like this:
but also with attachments support, so i can create a model with some data and a file attached but im not being able to do it :S
Can someone help?
Best Regards,
3nvy