From 459e3ada2589f0ae7c6b12fad6ea601d48319083 Mon Sep 17 00:00:00 2001 From: threestarsgenius Date: Fri, 11 Dec 2015 14:42:59 +0100 Subject: [PATCH] Update associations.rst Missed **saveStrategy** key for hasMany --- en/orm/associations.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/en/orm/associations.rst b/en/orm/associations.rst index 3db63ace44..b3ab38d3dc 100644 --- a/en/orm/associations.rst +++ b/en/orm/associations.rst @@ -385,6 +385,7 @@ Possible keys for hasMany association arrays include: - **strategy**: Defines the query strategy to use. Defaults to 'select'. The other valid value is 'subquery', which replaces the ``IN`` list with an equivalent subquery. +- **saveStrategy**: Either ‘append’ or ‘replace’. Indicates the mode to be used for saving associated entities. The former will only create new links between both side of the relation and the latter will do a wipe and replace to create the links between the passed entities when saving. - **finder**: The finder method to use when loading associated records. Once this association has been defined, find operations on the Articles table can