Juraj

Results 9 comments of Juraj

`table1` having PK `id` and `table2` having PK `id` The use is: `$connection->table('table1')->where(['table2.parameter1' => 'some value'])` If `parameter1` chooses rows from `table2` having non-unique `table2.id`, the query returns only so...

I proposed the scenario in the pull request. The issue seems to be at `select('*')`, without it, the query returns the right number of rows.

Well this is one way - let user know there would be a problem. Unfortunatelly this approach does not guarantee the exception occured because of using `select('*')`. In other words,...

Another point of view - maybe we could just detect the situation when tables share column names (one would overwrite the other) and if this happens, simply use the PK...

I think placing `.` as last column in select, renamed to e.g. `AS netteDatabasePrimaryRowKey` would be an elegant solution. Yes this can break things - mainly queries that considered the...

This (https://github.com/nette/database/issues/15#issuecomment-75067582) seems to have solved the issue for me: ``` public function offsetGet($key) { $this->execute(); // solves strange cache bug if ($this->rows === NULL) { $this->cache = NULL; return...

I have applied the code as well (before trying the fix above) and it did not work by itself. Because I cannot reproduce this issue anymore at the moment, I...

This issue could be related to #115, because this mainly happens on heavy-traffic, not in testing environments, the multiple accesses to the "same" data could be the key. Also I...

I propose first trying to salute with first name and if the name is not found as first name, trying to treat it as last name. (This is not a...