Skip to content

Collection inside document #512

Closed
Closed

Description

@jackstefansky

Hey, I am really looking forward to seeing a feature that will allow creating collections inside a document, like on the Cloud Firestore. That would be extremely helpful in organizing user's data. Now it can get really messy when user has multiple collections.

Activity

  1. eldadfux commented on Aug 30, 2020

    @eldadfux
    Member

    Not sure if this was already answered to your satisfaction or not on Discord. Does nesting child documents in parent ones which Appwrite already supports solves this issue for you?

  2. added
    question
    on Aug 30, 2020
  3. punitdiwan commented on Aug 30, 2020

    @punitdiwan

    @jackstefansky May be you can use Text Rule Type to store JSON instead of creating nested collection and handling all at application level.

  4. TorstenDittmann commented on Apr 6, 2021

    @TorstenDittmann
    Contributor

    This issue had no recent activity. I will close it and if further activity occurs can be re-opened again. Thank you for your contributions.

  5. jasdvine commented on May 27, 2021

    @jasdvine

    Do nested documents support pagination? My use case is having a collection of website documents, and each website would need it's own sub collection of potentially thousands of page documents. I can do this very easily in Firebase's Cloud Firestore, even having page IDs be their relative URLs, but Appwrite's database doesn't seem well suited here

  6. eldadfux commented on May 27, 2021

    @eldadfux
    Member

    The "Appwrite way" of doing that is by using multiple collections.

  7. AIDigitalAgencyInc commented on Jun 13, 2024

    @AIDigitalAgencyInc

    +1 Hoping for Appwrite to create a wrapper UI where if we create a subcollections, it creates the "multiple collections appwrite way" in the background that would be easier for developers to code + if delete 1 doc it deletes subcollections scalably

  8. added a commit that references this issue on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions