Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Joins wenn möglich mit Model-Beziehungen ersetzen #144

Open
andyundso opened this issue Jan 4, 2019 · 0 comments
Open

Joins wenn möglich mit Model-Beziehungen ersetzen #144

andyundso opened this issue Jan 4, 2019 · 0 comments

Comments

@andyundso
Copy link
Member

Moment gibt es viele Orte, wo Joins verwendet werden, anstatt die Laravel-Beziehungen zu nutzen.

z.B. https://github.com/stiftungswo/izivi/blob/master/api/app/Http/Controllers/api/PaymentController.php#L197 PaymentEntry könnt einfach mit Users und ReportSheets verknüpft werden, dann könnte man einfach PaymentEntry::with('user', 'report_sheet') aufrufen.

@andyundso andyundso added this to Ideen in iZivi Improvement Board via automation Jan 4, 2019
@andyundso andyundso moved this from Ideen to Backlog in iZivi Improvement Board Jan 4, 2019
@TheFehr TheFehr moved this from Backlog to Erledigt in iZivi Improvement Board Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

1 participant