klyn.data.SchemaManager.exists
method

    public exists(entityType as Type) as Boolean:

Description

Tests whether one mapped entity has a physical provider structure.

Parameters

Parameter | Description
--- | ---
`entityType` | Mapped entity type literal.

Returns

True when its provider structure exists.

Throws

- EntityMappingException when the type is not in the factory model.

Example

    assert schema.exists(User.type)