mirror of
https://github.com/appwrite/appwrite
synced 2026-05-06 06:48:22 +00:00
489 B
489 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 });
console.log(result);