0
我需要查询的MongoDB我收集任何有工头等于零或“”Mongoid“其中”查询为零或“”
这是我迄今为止...但我不知道如何改变它接受nil
和""
,我发现了这一点,但其超强的不明确,我还没有能够使它发挥作用
OR query matching nil or "" with Mongoid still matches ""?
where(foreman: '', status: 'Active').order_by(first_name: :asc)