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
- Endless certificate generation cycle
Hello, when I try to add the subdomain stats.hedgehog-rp.ru, I get an infinite loop while the certificate is being generated. There are no problems with adding ...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- Whats wrong here
I keep trying to fucking add the appwrite domains including CNAME and CAA but it keeps failing , this is the exact records i have right now in cf