DB\Cursor::load PHP Method

load() public method

Map to first record that matches criteria
public load ( $filter = NULL, array $options = NULL, $ttl ) : array | FALSE
$filter string|array
$options array array
$ttl int
return array | FALSE
    function load($filter = NULL, array $options = NULL, $ttl = 0)
    {
        $this->reset();
        return ($this->query = $this->find($filter, $options, $ttl)) && $this->skip(0) ? $this->query[$this->ptr] : FALSE;
    }