The jsonb queries in postgres do not allow for the type of nested queries that we need in order to provide search across tree properties. I think we can better support tree property queries by storing the json blob for each tree in a jsonb column for the tree table. This does raise the question about whether it is worth stripping the tree information out of the json blob in the study table.
The jsonb queries in postgres do not allow for the type of nested queries that we need in order to provide search across tree properties. I think we can better support tree property queries by storing the json blob for each tree in a jsonb column for the tree table. This does raise the question about whether it is worth stripping the tree information out of the json blob in the study table.