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

passing values to query.json in evently #8

Open
andrewufrank opened this issue Jul 21, 2011 · 2 comments
Open

passing values to query.json in evently #8

andrewufrank opened this issue Jul 21, 2011 · 2 comments

Comments

@andrewufrank
Copy link

i can use queries in evently to pass through mustache to populate a page, but how do i pass parameter values to the query?
say i want to retrieve a doc with a keyvalue of V. i think i can put "key" : "V" into the query.json - but how do i pass this argument to query.json? i take that the argument is either in $$(this) or passed with the event.

i found no documentation on the web and i would rather not store v in couchapp.
any suggestions for documentation i should read or example code?
thank you!
andrew

@kkuepper
Copy link

wondering about that one too!

@Dsyko
Copy link

Dsyko commented Jun 20, 2012

I'm also trying to figure out how this can be handled. I wan't to pass in a startkey so I only get the newest entries from the DB, which will change depending on the last query. Has anyone figured out how to pass variables to the query in in evently?

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

3 participants