Intersystems Objectscript, Persisted Class with Non Persisted Property

100 views Asked by At

Can we create non persisted property inside persisted class. Simply do not save the property(column) with %Save()

1

There are 1 answers

3
nikitaeverywhere On

You are looking for transient property parameter:

Property Name As %String [ Transient ];

From docs:

Specifies whether the property is stored in the database. Applies only to persistent classes.