klyn.data.MappingRegistry.find
method

    public find(
    entityType as Type,
    identityType as Type,
    providerName as String,
    mappingName as String = ""
    ) as MappingRegistration:

Description

Finds a matching registration without erasing its stored generic object.

Parameters

Parameter | Description
--- | ---
`entityType` | Entity type.
`identityType` | Effective identity type.
`providerName` | Provider family.
`mappingName` | Explicit mapping name, or empty for the default.

Returns

Matching registration, or null.

Example

    mapping = registry.find(type(User), type(Int), "sql")