Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Sa 06.07.2024 00:01:14 4.690 +2 255.991 54,6 PHP Community on Mastodon 4.2.10 500 Fr 05.07.2024 00:01:15 4.688 0 255.741 54,6 PHP Community on Mastodon 4.2.10 500 Do 04.07.2024 00:01:16 4.688 +1 255.418 54,5 PHP Community on Mastodon 4.2.9 500 Mi 03.07.2024 00:02:07 4.687 0 255.016 54,4 PHP Community on Mastodon 4.2.9 500 Di 02.07.2024 00:01:46 4.687 +1 254.749 54,4 PHP Community on Mastodon 4.2.9 500 Mo 01.07.2024 00:02:13 4.686 +1 254.463 54,3 PHP Community on Mastodon 4.2.9 500 So 30.06.2024 00:00:00 4.685 +3 254.266 54,3 PHP Community on Mastodon 4.2.9 500 Sa 29.06.2024 00:01:27 4.682 +3 254.006 54,3 PHP Community on Mastodon 4.2.9 500 Fr 28.06.2024 00:01:14 4.679 +1 253.728 54,2 PHP Community on Mastodon 4.2.9 500 Do 27.06.2024 00:01:22 4.678 0 253.492 54,2 PHP Community on Mastodon 4.2.9 500
Djumaka (@djumaka) · 12/2022 · Tröts: 234 · Folger: 23
Sa 06.07.2024 21:55
Some inconsistencies in #Yii2 drive me nuts. I need to perform some DB actions on different databases in a loop. I don't want to switch the DB connection of the base ActiveRecord class as I may want to do a select from one DB and a save to another DB on same model. So I saw `ActiveQuery::one/all` methods have the optional parameter of the DB connection. That's awesome, but `findOne` which is used all over doesn't bother having a `Connection` paramater and respectively doesn't pass it. DAMN
[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0