public function one($db = null)
    {
        if ($this->emulateExecution) {
            return new LazyPromise(function() { return reject(null); });
        }

        return $this->createCommand($db)->queryOne();
    }