Skip to content

Commit 9600602

Browse files
authored
Merge pull request #42 from appwrite/dev
Update attributes
2 parents 80cfc9b + 513f468 commit 9600602

23 files changed

+78
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repositories {
3939
Next, add the dependency to your project's `build.gradle(.kts)` file:
4040

4141
```groovy
42-
implementation("io.appwrite:sdk-for-kotlin:6.0.0")
42+
implementation("io.appwrite:sdk-for-kotlin:6.1.0")
4343
```
4444

4545
### Maven
@@ -50,7 +50,7 @@ Add this to your project's `pom.xml` file:
5050
<dependency>
5151
<groupId>io.appwrite</groupId>
5252
<artifactId>sdk-for-kotlin</artifactId>
53-
<version>6.0.0</version>
53+
<version>6.1.0</version>
5454
</dependency>
5555
</dependencies>
5656
```

docs/examples/java/databases/update-boolean-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ databases.updateBooleanAttribute(
1515
"", // key
1616
false, // required
1717
false, // default
18+
"", // newKey (optional)
1819
new CoroutineCallback<>((result, error) -> {
1920
if (error != null) {
2021
error.printStackTrace();

docs/examples/java/databases/update-datetime-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ databases.updateDatetimeAttribute(
1515
"", // key
1616
false, // required
1717
"", // default
18+
"", // newKey (optional)
1819
new CoroutineCallback<>((result, error) -> {
1920
if (error != null) {
2021
error.printStackTrace();

docs/examples/java/databases/update-email-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ databases.updateEmailAttribute(
1515
"", // key
1616
false, // required
1717
"[email protected]", // default
18+
"", // newKey (optional)
1819
new CoroutineCallback<>((result, error) -> {
1920
if (error != null) {
2021
error.printStackTrace();

docs/examples/java/databases/update-enum-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ databases.updateEnumAttribute(
1616
listOf(), // elements
1717
false, // required
1818
"<DEFAULT>", // default
19+
"", // newKey (optional)
1920
new CoroutineCallback<>((result, error) -> {
2021
if (error != null) {
2122
error.printStackTrace();

docs/examples/java/databases/update-float-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ databases.updateFloatAttribute(
1717
0, // min
1818
0, // max
1919
0, // default
20+
"", // newKey (optional)
2021
new CoroutineCallback<>((result, error) -> {
2122
if (error != null) {
2223
error.printStackTrace();

docs/examples/java/databases/update-integer-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ databases.updateIntegerAttribute(
1717
0, // min
1818
0, // max
1919
0, // default
20+
"", // newKey (optional)
2021
new CoroutineCallback<>((result, error) -> {
2122
if (error != null) {
2223
error.printStackTrace();

docs/examples/java/databases/update-ip-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ databases.updateIpAttribute(
1515
"", // key
1616
false, // required
1717
"", // default
18+
"", // newKey (optional)
1819
new CoroutineCallback<>((result, error) -> {
1920
if (error != null) {
2021
error.printStackTrace();

docs/examples/java/databases/update-relationship-attribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ databases.updateRelationshipAttribute(
1414
"<COLLECTION_ID>", // collectionId
1515
"", // key
1616
RelationMutate.CASCADE, // onDelete (optional)
17+
"", // newKey (optional)
1718
new CoroutineCallback<>((result, error) -> {
1819
if (error != null) {
1920
error.printStackTrace();

docs/examples/java/databases/update-string-attribute.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ databases.updateStringAttribute(
1515
"", // key
1616
false, // required
1717
"<DEFAULT>", // default
18+
0, // size (optional)
19+
"", // newKey (optional)
1820
new CoroutineCallback<>((result, error) -> {
1921
if (error != null) {
2022
error.printStackTrace();

0 commit comments

Comments
 (0)