2
Get all related collections/items for m2o,m2m without reverse fields
Source: directus/directus#22873 · opened by @w0kyj
Summary Currently no way to find all collections, fields or items related to a collection that doesn't include the reverse fields for any supported relationships(m2o/o2m/m2m/m2a). Common system collections where users and admins would benefit from this are files and users. Possible solution would generate dynamic query unions using directus_relations to aggregate this information. Basic Example Tables for the Examples: directus_files: id,title,... articles: id,title,image_file(directus_files.id),... products: id,name,image(directus_files.id),docs(docs_directus_files.id(directus_files_id(directus_files.id) etc. Related Collection Query: Show all the collections related to directus_files: Result: source_collection,related_collection directus_files,articles directus_files,products directus_files,... Related Collection & Field Query: Show all the collections and fields related to directus_files: Result: source_collection,related_collection,related_fie…
No pledges yet. Be the first to back this.
Comments
Similar requests
Inline Form Interface
37 votes · 0 comments
Allow disabling editing of a M2M linked item
5 votes · 0 comments
M2M relationship in both objects
2 votes · 0 comments
`sort` field is visible after creating a M2M field
1 vote · 0 comments
m2m: option to hide relational item in drawer
12 votes · 0 comments
No comments yet.