by Eric_WVGG · 2y ago · 0 comments
A bit puzzled by why the connector slots into the query, instead of the query slotting into the connector, given that it’s the connector that’s actually doing the work. I.e. ‘connector.fetch(query)‘ … rather than… ‘query.fetch(connector)‘
But I might be wrong, your idea makes more sense from logical perspective.
Something like Q.table(definition, connector), which would then allow you to just write users.filter(user => user.id.eq(42).fetch()