Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想搜索具有任何值的字段,基本上是 SQL 的IS NOT NULL. 我试过
IS NOT NULL
with :fieldA
认为这意味着“有价值”。但是它不起作用。太阳黑子的指定方式是IS NOT NULL什么?
我发现我需要
without :fieldA, nil
一旦我知道它就很明显了。