klyn.data.sql.internal.SQLMappedEntity.snapshot
method
public snapshot(entity as Object) as ArrayList<Object>:
Description

Captures mapped scalar values for change tracking.

SQL scalar mappings are immutable values. Keeping their boxed values is therefore sufficient and avoids deep-copying complete entity graphs on every materialization.

Parameters
ParameterDescription
entityEntity to snapshot.
Returns

Values in physical mapping order.

Example
snapshot = mapped.snapshot(user)