appwrite/docs/examples/1.8.x/server-nodejs/examples/grids/update-row.md
2025-07-30 10:39:28 +05:30

510 B

const sdk = require('node-appwrite');

const client = new sdk.Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setSession(''); // The user session to authenticate with

const grids = new sdk.Grids(client);

const result = await grids.updateRow( '<DATABASE_ID>', // databaseId '<TABLE_ID>', // tableId '<ROW_ID>', // rowId {}, // data (optional) ["read("any")"] // permissions (optional) );