persistenceUnit
persistenceUnit: string | undefined
Full name of a Unit (e.g. "Units.M") the magnitude is expressed in,
for a property that has no persistence unit of its own — a coordinate, a plain double, or a
JSON leaf.
Because this states what the value means rather than how it looks, the property's own
persistence unit is authoritative when it has one: a persistenceUnit that names a different
unit is ignored and a warning is logged.
Defined in
Last Updated: 02 October, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.