What data can be added to collections?

Follow

Comments

1 comment

  • duc
    hello, how do we identify collection data, that can safely be deleted?

     

    e.g. imagine following pseudo code:
    const post = client.collections.add("post", getId(), {some:'data'})
    feed.addActivity({
    actor:client.currentUser,
    verb:"post",
    object:post,
    });
    // now imagine we delete the activity again sometime later and forgot to
    delete the post itself, what are best practices to cleanup the post here?

     

    0
    Comment actions Permalink

Please sign in to leave a comment.