naive_bayes/resources/ruby/scope.rb
# Get the explain plan for the query.
#
# @return [Hash] A single document with the explain plan.
Get the explain plan for the query.
Get the explain plan for the query .
def explain
      explain_limit = limit || 0
      opts = @opts.merge(:limit => -explain_limit.abs, :explain => true)
      @collection.explain(Scope.new(@collection, @selector, opts))
    end
def explain explain_limit = limit || 0 opts = @opts . merge ( :limit => - explain_limit . abs , :explain => true ) @collection . explain ( Scope . new ( @collection , @selector , opts ) ) end
Get the explain plan for the query.
Get the explain plan for the query .
A single document with the explain plan.
A single document with the explain plan .
Hash