appwrite/docs/examples/1.8.x/server-php/examples/tablesdb/update-row.md

622 B

setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $tablesDB = new TablesDB($client); $result = $tablesDB->updateRow( databaseId: '', tableId: '', rowId: '', data: [], // optional permissions: [Permission::read(Role::any())], // optional transactionId: '' // optional );