%DocDB.Document
Class %DocDB.Document Extends %Persistent [ Abstract, NoExtent ]
Parameters
USEEXTENTSET
Parameter USEEXTENTSET = 1;
Properties
%DocumentId
Property %DocumentId As %Integer(MINVAL = 1) [ Identity ];
%Doc
Property %Doc As %Library.DynamicAbstractObject;
This property holds the document state. Serialization is JSON.
%LastModified
Property %LastModified As %Library.UTC [ SqlComputeCode = { set {*} = ##class(%Library.UTC).NowUTC() }, SqlComputed, SqlComputeOnChange = (%%INSERT, %%UPDATE) ];
Methods
%Size
ClassMethod %Size() As %Integer [ CodeMode = objectgenerator ]