Ecto query jsonb field with date ranges

Thanks for the general layout!

I am still curious how it’s been done with that JSONB field just for learning purpose.
If I have time I will give it a try.

Looks like ecto’s embed_one, embed_many is meant to be used with the preload function

In any case, thanks all for chiming in
Creating an extra table for now