Generic Couchbase repository pattern in .Net Core 3.1

@jmorris

It is neither actually. I am just not able to figure out how to write the generic repository with Couchbase as the provider. As an example, from my domain handler, I have this code that performs a query for a food.

        var results = await foodRepository
            .QueryAsync(x =>
                x.Description.Contains(foodQuery.Description) &&
                x.Name.Contains(foodQuery.Name));

I cannot figure out how to write the QueryAsync function for my base Couchbase repository