PDOWrapper::selectFirstMaster PHP Method

selectFirstMaster() public method

- retrieve the first row returned from a select statement using the master database
public selectFirstMaster ( $table, $params = [], array $order_by = null ) : mixed
$order_by array (optional) - an array with order by clause
return mixed - associate representing the fetched table row, false on failure
    public function selectFirstMaster($table, $params = array(), $order_by = null)
    {
        return $this->select($table, $params, 1, null, $order_by, true);
    }