watermarkchurch / wcc-contentful

An alternative to Contentful's contentful.rb ruby client, contentful_model, and contentful_rails gems all in one.
MIT License
2 stars 1 forks source link

Postgres store include parameter #206

Closed gburgett closed 4 years ago

gburgett commented 4 years ago

The Postgres store currently doesn't support the include: parameter in find_by or find_all requests. The result of this is that a full resolution of the page can take any number of queries, as all the individual sections and their links are resolved. This is an N+1 problem.

Suggested implementation options: