Back
Why are the newly released methods marked as deprecated? My Appwrite version is 19.
- 0
- Tools
- Databases
- General
- Web
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.odd...there should be a comment with that too..
this is the full tooltip:
keep scrolling
I see this:
?
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(),
{}
);
@Steven
Recommended threads
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! π We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...