We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry for n00bish question, but I'd like to pass dynamic values to views via view definition in model. Something like:
view
view :completed, :key => :name, :conditions => "doc.completed === #{var}"
Is it at all possible, or should I stick with filters I wrote in JS?
The text was updated successfully, but these errors were encountered:
Well, if you mean dynamic as in at query time then no, that's impossible with CouchDB. The conditions must be set at "compile time".
Sorry, something went wrong.
Yeah, silly me. Sry for bugging you.
No branches or pull requests
Sorry for n00bish question, but I'd like to pass dynamic values to views via
view
definition in model. Something like:Is it at all possible, or should I stick with filters I wrote in JS?
The text was updated successfully, but these errors were encountered: