klyn.data.sql.internal.SQLMappedEntity.generatedIdentityUnset
method

    public generatedIdentityUnset(entity as Object) as Boolean:

Description

Tests whether a generated identity still has its language default value.

Parameters

Parameter | Description
--- | ---
`entity` | Candidate new entity.

Returns

True only for null or zero generated integral identities.

Example

    assert mapped.generatedIdentityUnset(newUser)