Márton Somogyi
Márton Somogyi
- before/after open connection for e.g. prepare connection (set timezone, set connection attribute) - before/after close connection for e.g. free resources - before/after executing command for e.g. query analyzing, logging
> That would potentially hurt ability to adjust table rapidly during development, right? Partially. Another problem is that schema requests are executed during the HTTP request, thereby slowing down the...
#### Suggest ```php class Query { public function all() { return new QueryDataProvider($this); } public function one() { $dp = new QueryDataProvider($this); return $dp->first(); } public function count() { $dp...
https://github.com/yiisoft/yii2/blob/7d8507dea8cb390d7f6464093137a628d4a909c6/framework/caching/FileCache.php#L134 Since I think that it cannot be set indefinitely, it should be corrected to 1 year in the documentation. Cache vs permanent storage: In terms of use, the use...
> What's your `../config/main.php` section for databases ? The configuration is not relevant. The problem is that [`Query#queryScalar()`](https://github.com/yiisoft/yii2/blob/5406e5dad3eaa4e9d58f65bb565d37adc4307f3b/framework/db/Query.php#L457) create a instance with [`new self()`](https://github.com/yiisoft/yii2/blob/5406e5dad3eaa4e9d58f65bb565d37adc4307f3b/framework/db/Query.php#L500-L506), ignoring the request initiated from the...
I've run into this problem before. Use case: not a response related post processing, example - sending sentry events that have not yet been sent (slow or unstable server) -...
An interesting question, because basically you can avoid (eg. flatten, filter in browser with javascript). But I can imagine its use: ```php $data = StoreAR::find()->with('location')->where(..public..)->asArray()->all(); // eg counts less than...
@samdark > I did a PR with your changes. The main issue with it is that JS expressions aren't valid in JSON so the feature doesn't fit the "json" package...
@aphraoh "...JS expressions aren't valid in JSON so the feature doesn't fit the "json" package well..." BUT in web context use case is not allowed to ignore. In this package,...
@hyperknot Did you generate SA access based on this guide? [Service Account Setup](https://github.com/smartondev/gwbackupy/blob/main/docs/service-account-setup.md)