我有表测试:
原文链接:https://www.f2er.com/php/132292.htmlTest: id | name 1 | aaa 2 | 3 | ccc 4 | aaa 5 | 6 | ddd
我想要结果,其中name不为NULL:
aaa ccc aaa ddd
我如何得到:
Doctrine_Core::getTable('Test')->findBy('name',NOTNULL??) <-doesnt working
并在模型中与:
$this->createQuery('u') ->where('name = ?',NOTNULL ???) <- doesnt working ->execute();