Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%Library] >  [RowVersion]
Private  Storage   

datatype class %Library.RowVersion extends %Library.BigInt

ODBC Type: BIGINT

The %RowVersion type represents a 64 bit integer value.

This is identical to the %BigInt data type with the exception a property of type %RowVersion has special meaning to the Object and SQL filers.

A property/field of type %RowVersion will increment a namespace-wide counter located at ^rINDEXEXT("rv"), and that incremented value will be stored in the %RowVersion property/field for each INSERT, UPDATE, or %Save that occurs on the class/table. A %RowVersion property/field is typically used to enforce concurrency for the row/object.

Only one property/field per class/table may be defined with type %RowVersion.

A property/field of type %RowVersion may not be a property of the IdKey index.

A property/field of type %RowVersion may not have a value explicitly set by an INSERT or UPDATE statement or %Save call.

The %Library.RowVersion class is Final, and cannot be subclassed.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers


Summary

Methods
DisplayToLogical IsValid LogicalToDisplay Normalize
XSDToLogical




Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.