|o||the id of the object containing the collection|
|o||the position of the element in the collection|
The field names are passed in a hash that associates a field name with a field descriptor. The field descriptor may be either a hash or a string. The hash uses the following fields:
Optional field aggreg specifies that the elements of the collection must be removed (erased) from persistent storage along with the containing object. The default is not to aggregate.
Optional field back sets the name of a field that is inserted in the elements. That field acts as a demand-loaded, read-only reference to the object containing the collection.
Optional field coll sets the name the column containing the id of the containing object. This defaults to C_m, where C is the class of the containing object, and m is the field name.
Optional field slot sets the name the column containing the id of the containing object. This defaults to C_m_slot, where C is the class of the containing object, and m is the field name.
The C in C_m and C_m_slot are passed through the schema normalisation function before being combined into a column name.
Optional field deep_update specificies that all elements have to be updated automatically when update is called on the collection object. Automatic update ensures consisitency between the Perl representation and the DBMS state, but degrades update performance so use it with caution. The default is not to do automatic updates.
If the descriptor is a string, it is interpreted as the name of the elements class. This is equivalent to specifying only the class field in the hash variant.
|perl v5.20.3||TANGRAM::TYPE::ARRAY::FROMONE (3)||2015-10-09|