document_family 0.0.1 copy "document_family: ^0.0.1" to clipboard
document_family: ^0.0.1 copied to clipboard

delete Document include all sub collections

document_family #

firestore 문서와 하위 collection 들을 모두 제거하는 플러그인입니다.

Getting Started #

    final DocumentReference docRef = FirebaseFirestore.instance
        .collection('some-collection')
        .doc('example123');
    final children = [
      {'collection': 'members'},
      {'collection': 'requestingMembers'},
      {
        'collection': 'tracking',
        'children': [
          {'collection': 'history'},
        ],
      },
    ];
    
    await DocumentFamily(docRef, children).delete();
2
likes
140
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

delete Document include all sub collections

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cloud_firestore, flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on document_family