Replies: 2 comments 5 replies
-
any suggestion? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I have interesting situation.... @niden can u check out that? A help! $contractor = \Models\Contractors::findFirst();
$company = $contractor->getCompany();
$contractor->save(); In that case, save will be executed in relation too. I mean object $contractor will be save and object $company too. Why is that? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a table A with many secondary tables (B,C,...) related to A with one to many relation.
When I update A, one of related tables e.g C update too, but non of other updates, while relations are the same!
How can i disable it? I use
foreignKey
option, but won't work well!My phalcon is 5.2.1 and php is 8.2.5
Beta Was this translation helpful? Give feedback.
All reactions