Robert Korulczyk
Robert Korulczyk
@vercotux I'm talking about column names, not values. If you don't know which column is used as PK, how could you create any other condition (since you should know nothing...
@vercotux You can't use `indexBy()` or `orderBy()` if you don't know column names. And I can't really imagine any useful usage of `limit()` if you can't set order. Anyway, I'm...
@vercotux Accessing PK when you don't know it's column name is not a common case. But if you really need it, you can create own helper for that.
Can you check this with last version of Yii? In 2.0.11 support for `emulateExecution` was added, which should avoid such dummy queries.
Try `dev-master` - this fix has not been released yet.
What error? Also, please upgrade to the latest version of Yii and yii2-queue and check if error persist.
> We make it available from the AR object so it can be reused when using relations Relations may use different repository/connection. In addition such dependency will make caching of...
> Why would it become trickier? It may depend on `Repository` implementation, but I'm seeing only two options: 1. `Repository` takes `Connection` from global scope (same as `Yii::$app->db`), so you're...
To make this clean we would need to remove some magic from AR and remove direct dependency on connection: 1. Class itself should contain all info about related DB schema...
Any benchmarks to measure overhead?