AddSubDocumentMapping adds the provided DocumentMapping as a sub-mapping for the specified named subsection.
(property string, sdm *DocumentMapping)
| 272 | // AddSubDocumentMapping adds the provided DocumentMapping as a sub-mapping |
| 273 | // for the specified named subsection. |
| 274 | func (dm *DocumentMapping) AddSubDocumentMapping(property string, sdm *DocumentMapping) { |
| 275 | if dm.Properties == nil { |
| 276 | dm.Properties = make(map[string]*DocumentMapping) |
| 277 | } |
| 278 | dm.Properties[property] = sdm |
| 279 | } |
| 280 | |
| 281 | // AddFieldMappingsAt adds one or more FieldMappings |
| 282 | // at the named sub-document. If the named sub-document |
no outgoing calls