Ho tabella Test:Come interrogare NOT NULL con Doctrine?
Test:
id | name
1 | aaa
2 |
3 | ccc
4 | aaa
5 |
6 | ddd
voglio portare in cui il nome non è NULL:
aaa
ccc
aaa
ddd
Come posso ottenere con:
Doctrine_Core::getTable('Test')->findBy('name', NOTNULL??) <-doesnt working
e in modello con:
$this->createQuery('u')
->where('name = ?', NOTNULL ???) <- doesnt working
->execute();
grazie, e come posso usare questo con findby? –
Non è possibile, è necessario scrivere i propri metodi personalizzati. – Dziamid