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

ETag for views #3

Open
adzeitor opened this issue Sep 10, 2012 · 5 comments
Open

ETag for views #3

adzeitor opened this issue Sep 10, 2012 · 5 comments

Comments

@adzeitor
Copy link

Something like his

couchViewEtag
:: MonadCouch m => Path -> Path -> Path -> Query -> m (ETag, Source m Object)

It would be cool if all the queries return (etag, content)

@akaspin
Copy link
Owner

akaspin commented Sep 10, 2012

In CouchDB ETag is Revision.

@adzeitor
Copy link
Author

I know, but how get Etag for view in couchdb-conduit?

@akaspin
Copy link
Owner

akaspin commented Sep 10, 2012

Oh. "For view". Ok. I'm implement this on next week. Or you can send me pull request.

@adzeitor
Copy link
Author

What do you think about this:

It would be cool if all the queries return (etag, content)

Like this:

couchViewEtag
:: MonadCouch m => Path -> Path -> Path -> Query -> m (ETag, Source m Object)

@akaspin
Copy link
Owner

akaspin commented Sep 10, 2012

Good

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

2 participants