FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests