Article Vivian Lee · Feb 27, 2023 4m read Accessing Properties of a Relationship in a JSON-enabled Persistent Class Setting the Scene Suppose you have the following 2 persistent classes that are both JSON-enabled (i.e. extends %JSON.Adaptor or %pkg.isc.rest.model.adaptor) #JSON #REST API #InterSystems IRIS 5 0 0 216
Article Vivian Lee · Dec 15, 2021 3m read The Perils of Modifying the Storage Definition Setting the Scene I was editing the properties of a persistent ObjectScript class the other day and noticed that the storage definition wasn't updating to reflect my latest changes. In this case, I deleted a property that was no longer needed from the class definition, saved, recompiled, and still saw it in the storage definition. #Object Data Model #ObjectScript #Caché 12 7 3 664