Skip to content
Back

How i can call increment with operators from rest?

  • 0
  • 1
  • Databases
  • REST API
5 May, 2026, 02:23
TypeScript
        '<DATABASE_ID>',
        '<TABLE_ID>',
        '<ROW_ID>',
        {
            'stock': Operator.increment(2)
        },
    );``` in flutter sdk It works like this
TL;DR
To increment a value by 2 using REST API in Flutter SDK, use the Operator.increment(2) function within the updateRow method of tablesDB.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more