Closed likebtn closed 10 years ago
Bundle saves and searches documents with the type field which equals to the document class name, for example "Acme.DemoBundle.CouchDocument.Settings".
Is there any way to set custom "type", for example:
/** * @CouchDB\Document(type="Settings") */ class Settings { /** * @CouchDB\Id */ protected $id; }
This should be asked in the couchDB ODM. the mapping and the type are not related to the Symfony integration
Bundle saves and searches documents with the type field which equals to the document class name, for example "Acme.DemoBundle.CouchDocument.Settings".
Is there any way to set custom "type", for example: