Hello,
this might seem like a trivial question, but I can't find any example for this case and despite trying a lot, I don't appear to be able to find a solution.
I need to create a qualifications() function on my Office model so I can retrieve all the qualifications that are represented in the office, unfortunately I can't create a collection as the relationship is needed for the custom pagination I need to input the data in.
Hello, this might seem like a trivial question, but I can't find any example for this case and despite trying a lot, I don't appear to be able to find a solution.
My tables follow the standard convention:
I need to create a qualifications() function on my Office model so I can retrieve all the qualifications that are represented in the office, unfortunately I can't create a collection as the relationship is needed for the custom pagination I need to input the data in.
I've tried solutions such as:
May anyone be so kind to help me? thanks in advance.