Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

PHP [symfony] query over multiple tables

Tealk

Platinum Coder
I am trying to read out the worst global and worst group status from a table, unfortunately I have no idea how to handle this.

I have a table service_group which has a OneToMany connection to the table service. The service table has a ManyToMany connection to the status table.
The status is given by an ID 0 = good and 3 = the worst.

It is also important that it is only the most recent status of a service, because each service has several entries in the past.

Code: https://codeberg.org/RollenspielMonster/server-status-page
 
Last edited:
You dont want to lock it but they lock them selfs :D its a annoying part of SQL where if 2 things are on the database they can cause each other to lock :) Im porbably now much help then in that case :D
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom