Maslosoft Mangan API
Class EmbeddedArrayAnnotation
Annotation for array of embedded documents in MongoDB default class name will be used for getting empty properties, but any type of embedded document can be stored within this field.
Examples:
Embedded array with any model: ```
- Maslosoft\Addendum\Collections\MetaAnnotation
- Maslosoft\Mangan\Meta\ManganAnnotation
- Maslosoft\Mangan\Meta\ManganPropertyAnnotation
- Maslosoft\Mangan\Annotations\EmbeddedAnnotation
- Maslosoft\Mangan\Annotations\EmbeddedArrayAnnotation
Namespace: Maslosoft\Mangan\Annotations
Embeddedarray: Embedded array with default class:
Embeddedarray(company\classname): Embedded array with default class and compare key `_id`
Embeddedarray(company\classname,:
Embeddedarray(company\classname,:
Target('property')
Conflicts('embedded')
Conflicts('dbref')
Conflicts('dbrefarray')
Conflicts('related')
Conflicts('relatedarray')
Template: EmbeddedArray('${defaultClassName}')
Author: Piotr
Located at Annotations/EmbeddedArrayAnnotation.php
Embeddedarray: Embedded array with default class:
Embeddedarray(company\classname): Embedded array with default class and compare key `_id`
Embeddedarray(company\classname,:
'_id')
Embedded array with default class and composite compare key of `login` and `email`:
Embeddedarray(company\classname,:
{'login', 'email'}) ```
Target('property')
Conflicts('embedded')
Conflicts('dbref')
Conflicts('dbrefarray')
Conflicts('related')
Conflicts('relatedarray')
Template: EmbeddedArray('${defaultClassName}')
Author: Piotr
Located at Annotations/EmbeddedArrayAnnotation.php
Methods inherited from Maslosoft\Mangan\Meta\ManganPropertyAnnotation
Methods inherited from Maslosoft\Mangan\Meta\ManganAnnotation
API documentation generated by ApiGen