changeSetElementIsLeafOf(
target
): (eb
) =>ExpressionWrapper
<LixDatabaseSchema
,"change_set_element"
,SqlBool
>
Filters the leaves of the given change set(s).
An element is considered a leaf if no other element in the combined ancestry of the target change sets redefines the same entity at a later point in the graph.
A target change set object (or its id), or an array of such objects/ids.
Pick
<{ id
: LixGenerated
<string
>; metadata?
: null
| Record
<string
, any
>; }, "id"
> | Pick
<{ id
: LixGenerated
<string
>; metadata?
: null
| Record
<string
, any
>; }, "id"
>[]
(
eb
):ExpressionWrapper
<LixDatabaseSchema
,"change_set_element"
,SqlBool
>
ExpressionBuilder
<LixDatabaseSchema
, "change_set_element"
>
ExpressionWrapper
<LixDatabaseSchema
, "change_set_element"
, SqlBool
>