Hi Sergio,
You have to add a method to the class side with a pragma. In my case, I wanted to set the instance variable “questionReferences” to transient.
myClass class>>mongoQuestionReferences
<mongoDescription>
^VOTransientDescription new
attributeName: 'questionReferences';
yourself
Cheers!
Alejandro
Hi, all..
I have an instance variable that I don’t want to save as part of the full project. I was wondering how to set this up.
The documentation says:
Lastly, attributes can be excluded from storage (and hence retrieval) by re- turning a VOMongoTransientDescription instance as the attribute descrip- tor.
But I am not sure how to set this up in my class.
thanks!
----
peace,
sergio
photographer, journalist, visionary