#12418·appwrite

DB create events sending back $collectionId instead of $databaseId

Author: JoshLee0915Created May 28, 2026Updated Sep 22, 2026
Labelsproduct / databasesproduct / functionsproduct / self-hosted

Reproduction steps

  1. Create a new DB and table
  2. Setup a function that triggers on row create
  3. Have function dump out the event body sent to the function

Expected behavior

Expect to see a row object as defined in the row documentation: https://appwrite.io/docs/references/cloud/models/row

Actual Behavior

A row object is returned but is missing $databaseId and instead has the old $collectionId property

Appwrite version

Different version (specify in environment)

Operating system

Windows

Your Environment

  • appwrite: 1.9.0 self hosted on local PC through docker
  • appwriteSDK: sdk-for-go v4.0.0

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?