Files
delta/example/count_large.delta

10 lines
160 B
Plaintext

type order = {
customer : string;
total : int;
}
input orders : collection order
query count_large =
orders |> filter (fun o -> o.total > 500) |> count