src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php
public function table(string $table, string $alias = null): QueryBuilder
    {
        $this->table = $table . ($alias !== null ? ' ' . $alias : '');

        return $this;
    }
public function table(string $table, string $alias = null): QueryBuilder
    {
        $this->table = $table . ($alias !== null ? ' ' . $alias : '');

        return $this;
    }
Set the table on which to perform the query statement.

<code>
$queryBuilder
->select()
->table('table');

$queryBuilder
->select()
->table('table', 't');
</code>

@param string      $table
@param string|null $alias

@return static