mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
14 lines
No EOL
447 B
Markdown
14 lines
No EOL
447 B
Markdown
---
|
|
title: 'Example: Checking a parent relationship for some things'
|
|
tweet_id: '1308114701415571457'
|
|
thread_slug: 1-rt-1-tip
|
|
author_username: samuelstancl
|
|
images:
|
|
- 'https://pbs.twimg.com/media/EidbX_UWAAMeB6-.png'
|
|
created_at: 2020-09-21T18:43:43+00:00
|
|
slug: example-checking-a-parent-relationship-for-some-things
|
|
---
|
|
|
|
Such as, checking if an Order is locked inside an OrderProduct.
|
|
|
|
OrderProducts cannot be added to/changed in a locked order. |