File tree Expand file tree Collapse file tree
user_guide_src/source/models Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ $dateFormat
168168This value works with ``$useTimestamps `` and ``$useSoftDeletes `` to ensure that the correct type of
169169date value gets inserted into the database. By default, this creates DATETIME values, but
170170valid options are: ``'datetime' ``, ``'date' ``, or ``'int' `` (a PHP timestamp). Using **useSoftDeletes ** or
171- useTimestamps with an invalid or missing dateFormat will cause an exception.
171+ ** useTimestamps ** with an invalid or missing ** dateFormat ** will cause an exception.
172172
173173$createdField
174174^^^^^^^^^^^^^
@@ -185,7 +185,7 @@ Leave it empty to avoid update it (even ``$useTimestamps`` is enabled).
185185$deletedField
186186^^^^^^^^^^^^^
187187
188- Specifies which database field should use for soft deletions. See :ref: `model-use-soft-deletes `.
188+ Specifies which database field to use for soft deletions. See :ref: `model-use-soft-deletes `.
189189
190190Validation
191191----------
@@ -649,7 +649,7 @@ In this case, it operates on the shared instance of the Query Builder held by th
649649
650650If the Query Builder returns a result, it is returned as is.
651651In that case, the result may be different from the one returned by the model's method
652- and may not be what was expected. The model's event is not be triggered.
652+ and may not be what was expected. The model's events are not triggered.
653653
654654To prevent unexpected behavior, do not use Query Builder methods that return results
655655and specify the model's method at the end of the method chaining.
You can’t perform that action at this time.
0 commit comments