Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model With Attachments #44

Open
3nvy opened this issue May 14, 2016 · 0 comments
Open

Model With Attachments #44

3nvy opened this issue May 14, 2016 · 0 comments

Comments

@3nvy
Copy link

3nvy commented May 14, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant