Skip to content

Model With Attachments #44

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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