-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gameId column to LeagueScoreJournal #772
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #772 +/- ##
==========================================
Coverage 78.01% 78.02%
- Complexity 1262 1263 +1
==========================================
Files 249 249
Lines 3812 3813 +1
Branches 241 241
==========================================
+ Hits 2974 2975 +1
Misses 738 738
Partials 100 100
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
To our knowledge you can't and have to do 2 queries instead. I raised the question in the Elide Discord though. Although I recently discovered in MySQL you can cross join databases if you prefix the tables with the db name. Not sure if this is supported by Hibernate, then we could just drop the Multiplex store altogether... |
Is doing two queries still the way to go? |
Currently yes, but I found a way that MySQL can do crossover joins if a user actually has permissions for both tables. |
Requires league service 1.5.0
With this the loginId and gameId just exist as integers. They don't have a relationship to the actual object with that Id. How can this be added given that we would cross databases with this?