Datetime store calc

#1

I have a type representing children objects let’s say
entity type A {
parent: B
start: datetime
}

and a type representing parent objects let’s say
entity type B {
children: [A] (parent)
}

I would like to define a stored calc on B to be the earliest start of its children.

0 Likes

#2

You can define

start: datetime stored calc “earliest(children.start)”

on type B

0 Likes