Class Mongoid::Relations::Builders::Referenced::Many
In: lib/mongoid/relations/builders/referenced/many.rb
Parent: Builder

Methods

build  

Public Instance methods

This builder either takes a hash and queries for the object or an array of documents, where it will just return tem.

@example Build the documents.

  Builder.new(meta, attrs).build

@param [ String ] type The type of document to query for.

@return [ Array<Document> ] The documents.

[Validate]