mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
540 B
540 B
import { Client, TablesDB } from "react-native-appwrite";
const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDB = new TablesDB(client);
const result = await tablesDB.incrementRowColumn({ databaseId: '<DATABASE_ID>', tableId: '<TABLE_ID>', rowId: '<ROW_ID>', column: '', value: 0, // optional max: 0, // optional transactionId: '<TRANSACTION_ID>' // optional });
console.log(result);