public function select(Table $table): Select
    {
        //Has one
        if ($this->table->getJoinField($table)) {
            return $table->select()->one()->relatedWith($this);
        }

        return $table->select()->relatedWith($this);
    }
public function select(Table $table): Select
    {
        //Has one
        if ($this->table->getJoinField($table)) {
            return $table->select()->one()->relatedWith($this);
        }

        return $table->select()->relatedWith($this);
    }
public function select ( Table $ table ) : Select { //Has one if ( $ this -> table -> getJoinField ( $ table ) ) { return $ table -> select ( ) -> one ( ) -> relatedWith ( $ this ) ; } return $ table -> select ( ) -> relatedWith ( $ this ) ; }
Creates a select query of a table related with this row
Creates a select query of a table related with this row