watermarkchurch/wcc-contentful

Postgres query nested conditions

gburgett opened this issue · 1 comments

Postgres store needs to support the "reverse lookup" case - i.e. querying by nested conditions.

Use case:

class Person < WCC::Contentful::Model::Person
  def teams
    ::Team.find_all members: { id: id }
  end

This is basically join functionality