New to prismic and seems very straight forward so far!
I am however struggling to query a document type by a field. Is this possible please? I don't want this to be filtered by content relationship, but instead of the object(s) itself.
Eg: Below I wish to find all the documents where the type is "Blog" and where the field "categories" have the value(s) "One" or "Two".
@response = api.query([ Prismic::Predicates.at("document.type", "blog"), Prismic::Predicates.at("blog.categories", ["One", "Two" ])] )