Skip to content

Commit d27314b

Browse files
authored
Use backticks for formatting
1 parent 594cb80 commit d27314b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/en/orm/associations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ Possible keys for hasMany association arrays include:
465465
- **strategy**: Defines the query strategy to use. Defaults to 'select'. The
466466
other valid value is 'subquery', which replaces the `IN` list with an
467467
equivalent subquery.
468-
- **saveStrategy**: Either 'append' or 'replace'. Defaults to 'append'. When 'append' the current
469-
records are appended to any records in the database. When 'replace' associated
468+
- **saveStrategy**: Either `append` or `replace`. Defaults to `append`. When `append` the current
469+
records are appended to any records in the database. When `replace` associated
470470
records not in the current set will be removed. If the foreign key is a nullable
471471
column or if `dependent` is true records will be orphaned.
472472
- **finder**: The finder method to use when loading associated records. See the
@@ -619,7 +619,7 @@ Possible keys for belongsToMany association arrays include:
619619
- **strategy**: Defines the query strategy to use. Defaults to 'select'. The
620620
other valid value is 'subquery', which replaces the `IN` list with an
621621
equivalent subquery.
622-
- **saveStrategy**: Either 'append' or 'replace'. Defaults to 'replace'.
622+
- **saveStrategy**: Either `append` or `replace`. Defaults to `replace`.
623623
Indicates the mode to be used for saving associated entities. The former will
624624
only create new links between both side of the relation and the latter will
625625
do a wipe and replace to create the links between the passed entities when

0 commit comments

Comments
 (0)