Files
sdk-for-dart/docs/examples/tablesdb/update-float-column.md
2025-08-21 22:19:54 +12:00

20 lines
558 B
Markdown

import 'package:dart_appwrite/dart_appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>') // Your project ID
.setKey('<YOUR_API_KEY>'); // Your secret API key
TablesDB tablesDB = TablesDB(client);
ColumnFloat result = await tablesDB.updateFloatColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
key: '',
xrequired: false,
xdefault: 0,
min: 0, // (optional)
max: 0, // (optional)
newKey: '', // (optional)
);