You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked into implementing a fix for this a bit. I see two options...
The hacky one... remove the database parameter from the query. This would have the ugly sideeffect of removing the parameter even if it was explicitly set.
The more correct one (?)... use something else than the query to store the database in. This is kind of complicated because of the nice way queries are build by chaining calls and creating new instances of the view. The initializer already has 4 parameters. The best way would probably be to fetch it from the parent like we currently do with name.
The database method on views allows specifying the database to query from.
However the database parameter gets added to the query so it's also present in the url. So the couch logs for this query for me show:
I would expect the query to not contain the database:
The database parameter clutters the query and also leaks credentials in the couch logs.
The text was updated successfully, but these errors were encountered: