Gdn_SQLDriver::from PHP Method

from() public method

The table(s) from which to select values. Returns this object for chaining purposes.
public from ( mixed $From ) : Gdn_SQLDriver
$From mixed A string or array of table names/aliases from which to select data. Accepted formats include: user user, user u2, role array("user u", "user u2", "role")
return Gdn_SQLDriver $this
    public function from($From)
    {
        if (!is_array($From)) {
            $From = array($From);
        }
        $Count = count($From);
        $i = 0;
        for ($i = 0; $i < $Count; ++$i) {
            $this->_Froms[] = $this->escapeIdentifier($this->mapAliases($From[$i]));
        }
        return $this;
    }