Suppose I have a jsonb array in a postgres column like

```
[{"startDate": "2019-09-01"}, {"startDate": "2019-07-22"}, {"startDate": "2019-08-08"}]

```

Is there a way to extract the earliest startDate from the jsonb array? I have tried using jsonb\_array\_elements but don't see how to loop through all the elements.