<abstract> new DBObject(linkedObjects: [, object])
Subclasses should set the following property in the constructor:
- '$name' (string): it will be used to lookup the property which will be used as the "name" of the objects (e.g., in findByName())
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
linkedObjects: |
Array | objects to be linked to this one i.e. removed when this object is removed |
|
object |
Object |
<optional> |
to init this DBObject with |
- Source: