system/Database/DatabaseManager.php
/**
     * Determine if a resource does not exist in a database
     * 
     *
     * @return bool True if the resource does not exist, False otherwise
     */
Determine if a resource does not exist in a database

@return bool True if the resource does not exist, False otherwise
Determine if a resource does not exist in a database @return bool True if the resource does not exist False otherwise
public function doesNotExist()
    {
        $this->addSoftDeletes();
        if(empty($this->queryData))
        {
            throw new Exception('Expected the where() method to be called before doesNotExist()!');
        }
        $this->is_row = true;
        return empty($this->get());
    }
public function doesNotExist ( ) { $ this -> addSoftDeletes ( ) ; if ( empty ( $ this -> queryData ) ) { throw new Exception ( 'Expected the where() method to be called before doesNotExist()!' ) ; } $ this -> is_row = true ; return empty ( $ this -> get ( ) ) ; }
Determine if a resource does not exist in a database
Determine if a resource does not exist in a database