evently icon indicating copy to clipboard operation
evently copied to clipboard

passing values to query.json in evently

Open andrewufrank opened this issue 14 years ago • 2 comments

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

andrewufrank avatar Jul 21 '11 07:07 andrewufrank

wondering about that one too!

kkuepper avatar Sep 20 '11 19:09 kkuepper

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?

Dsyko avatar Jun 20 '12 17:06 Dsyko