Skip to content

Model With Attachments #44

@3nvy

Description

@3nvy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions