Skip to content

πŸ› Bug Report: databases.deleteDocuments() doesn't execute eventsΒ #118

@ArielS1

Description

@ArielS1

πŸ‘Ÿ Reproduction steps

I have a function that listens to the following event:
databases.main.collections.myCollection.documents.*.delete

When i delete a myCollection document using databases.deleteDocument() it executes the function as it should.
But when i delete it using the experimental function databases.deleteDocuments() it doesn't, even that the document was deleted successfully, it happens even when a single document is deleted.

I suspect such problem might happen in other bulk DML operations too on their relevant events.

πŸ‘ Expected behavior

to execute the function that listens to databases.main.collections.myCollection.documents.*.delete event

πŸ‘Ž Actual Behavior

file deleted, function wasn't executed

🎲 Appwrite version

Different version (specify in environment)

πŸ’» Operating system

Linux

🧱 Your Environment

Appwrite 1.7.4 self hosted
node sdk 17.1.0
runtime node-22

πŸ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions