Replies: 1 comment
-
define |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I have two table "archives" and "archives_permission" and data
and Models/Archives.php
When I use
Archives::with(['archivesPermission'])->first()
,then archivesPermission is empty collectionBut When I use
Archives::first()->archivesPermission()->get()
will get correct dataIf I change uuid from "96e45fe0-27d2-499e-8bbc-79c4e1d4d015" to "96d45fe0-27d2-499e-8bbc-79c4e1d4d015", then
Archives::with(['archivesPermission'])->first()
,then archivesPermission will get correct dataSteps To Reproduce:
Beta Was this translation helpful? Give feedback.
All reactions