appwrite/docs/examples/1.6.x/server-php/examples/databases/create-integer-attribute.md
2024-08-21 14:46:51 +05:30

575 B

setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setKey(''); // Your secret API key $databases = new Databases($client); $result = $databases->createIntegerAttribute( databaseId: '', collectionId: '', key: '', required: false, min: null, // optional max: null, // optional default: null, // optional array: false // optional );