2011-02-26 36 views

回答

1

根據mongoid query syntax

Model.any_of({:name => a, :topic => b}, 
      {:name => c, :topic => d}, 
      {:name => e, :topic => f})