klyn.data.sql.internal.SQLMappedEntity.propertyForPath
method

    public propertyForPath(path as String) as SQLPropertyMapping:

Description

Returns one mapped property by its Klyn property path.

Parameters

Parameter | Description
--- | ---
`path` | Scalar property name.

Returns

Exact mapped SQL property.

Throws

- ProviderCapabilityException for relationship paths.
- EntityMappingException when no property is mapped.

Example

    login = mapped.propertyForPath("login")