Skip to content
Discussion options

You must be logged in to vote

The example is too abstract and I'm not sure that I understand the described data structure and expected workflow.

There are several ways you can handle relations in PocketBase - direct single or multi-relation field(s), junction collection(s) or combination of both.

Could you provide more information on your collections and relation fields structure (you can export your collections configuration as json from the "Admin UI > Settings > Export collections")?

With v0.11+ there is now support for multi-match/match-all conditions that are the defaults when dealing with multi-value fields. If memberIds in the above is a relation field (it may be better to name it just members), then you can do…

Replies: 1 comment 5 replies

Comment options

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

@rspy
Comment options

@rspy
Comment options

@ganigeorgiev
Comment options

@rspy
Comment options

Answer selected by rspy
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