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
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- CDN not delivering correct bundle
My site 69b4cd410035893573dc is not delivering the latest deployed version via CDN, it seems stuck on versions from previoiu days, alternative links for the lat...