Rewrite of db().all and db().design().view to add parameters.
NOTE: The view logic is based on assumptions since the documentation is
lacking! Use at your own risk!