for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Helix\DB\SQL;
/**
* Produces logical expressions for the instance.
*/
trait PredicateTrait {
* `$this IS FALSE`
*
* @return Predicate
public function isFalse () {
return new Predicate("{$this} IS FALSE");
}
* `$this IS NOT NULL`
public function isNotNull () {
return new Predicate("{$this} IS NOT NULL");
* `$this IS NULL`
public function isNull () {
return new Predicate("{$this} IS NULL");