Skip to content

How to search collection that has a relationship element content in rich text field? #852

Answered by jmikrut
EasonSoong asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @EasonSoong

You should be able to do this with something like:

where: { myRichTextField: { contains: authorID } }

Rich text fields can be queried on just like any other field, so give that a shot!

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@EasonSoong
Comment options

@EasonSoong
Comment options

@jmikrut
Comment options

Answer selected by EasonSoong
Comment options

You must be logged in to vote
5 replies
@EasonSoong
Comment options

@jmikrut
Comment options

@jmikrut
Comment options

@EasonSoong
Comment options

@EasonSoong
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants