Skip to content
Back

Why are the newly released methods marked as deprecated? My Appwrite version is 19.

  • 0
  • Tools
  • Databases
  • General
  • Web
Los Feliz
27 Aug, 2025, 20:45
TL;DR
Newly released methods are marked as deprecated due to a recommendation to use an updated implementation with object parameters instead of the previous method. The suggested implementation includes specifying database and table IDs along with row data.
Steven
27 Aug, 2025, 20:46

odd...there should be a comment with that too..

Los Feliz
27 Aug, 2025, 20:47

this is the full tooltip:

Steven
27 Aug, 2025, 20:48

keep scrolling

Los Feliz
27 Aug, 2025, 20:48

I see this:

Los Feliz
27 Aug, 2025, 20:49

?

Los Feliz
27 Aug, 2025, 20:52

I understand that it is recommending me to implement the method like this:

TypeScript
 const res = await tabelsDB.createRow({
            databaseId: dbEnv,
            tableId: reportsPostsCollEnv,
            rowId: ID.unique(),
            data: {
                post_id: '12121212121212121212',
                reason: 'BKBKBKBKB'
            }
        })

, however, in the docs, it is without the object parameter:

TypeScript
const promise = tablesDB.createRow(
    '<DATABASE_ID>',
    '<TABLE_ID>',
    ID.unique(),
    {}
);
Los Feliz
27 Aug, 2025, 20:52

@Steven

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more