Skip to content

Commit d6d5a4b

Browse files
committed
Move comments into notes section
1 parent 0c6ea31 commit d6d5a4b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

readme.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Laravel utility to keep records synced between enviroments through source contro
1616
"name": "Ferris Bueller",
1717
"properties->title": "Leisure Consultant",
1818
"phone_numbers->mobile": "555-555-5555",
19-
"phone_numbers->office": "", // empty values are skipped
20-
"_email": "[email protected]", // the criteria/attributes for updateOrCreate are identified with a preleading underscore
21-
"department": { // nested values represent relationships and are returned using where($key, $value)->first()
19+
"phone_numbers->office": "",
20+
"_email": "[email protected]",
21+
"department": {
2222
"name": "Management",
2323
"location": {
2424
"name": "Chicago"
@@ -44,4 +44,9 @@ User::updateOrCreate([
4444
->id,
4545
]);
4646

47-
```
47+
```
48+
49+
## Notes
50+
- empty values are skipped
51+
- the criteria/attributes for updateOrCreate are identified with a preleading underscore
52+
- nested values represent relationships and are returned using where($key, $value)->first()->id

0 commit comments

Comments
 (0)