Exception: Parse::Query::MongoDirectRequired

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parse/query.rb

Overview

Raised when a query contains a constraint that can only be executed via the mongo-direct path but the caller hasn’t enabled master-key mode (or ‘Parse::MongoDB` isn’t configured at all). The auto-route refuses to silently bypass per-row ACL/CLP, so the developer must opt in by setting ‘use_master_key = true` on the query and ensuring `Parse::MongoDB.configure` has been called.