You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/kotlin/io/appwrite/services/Databases.kt
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,6 @@ class Databases(client: Client) : Service(client) {
58
58
* @param databaseId Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
59
59
* @param name Database name. Max length: 128 chars.
60
60
* @param enabled Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.
61
-
* @param type Database type.
62
61
* @return [io.appwrite.models.Database]
63
62
*/
64
63
@Deprecated(
@@ -72,15 +71,13 @@ class Databases(client: Client) : Service(client) {
Copy file name to clipboardExpand all lines: src/main/kotlin/io/appwrite/services/TablesDb.kt
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,6 @@ class TablesDb(client: Client) : Service(client) {
53
53
* @param databaseId Unique Id. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
54
54
* @param name Database name. Max length: 128 chars.
55
55
* @param enabled Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.
56
-
* @param type Database type.
57
56
* @return [io.appwrite.models.Database]
58
57
*/
59
58
@JvmOverloads
@@ -62,15 +61,13 @@ class TablesDb(client: Client) : Service(client) {
62
61
databaseId:String,
63
62
name:String,
64
63
enabled:Boolean? = null,
65
-
type: io.appwrite.enums.Type? = null,
66
64
): io.appwrite.models.Database {
67
65
val apiPath ="/tablesdb"
68
66
69
67
val apiParams = mutableMapOf<String, Any?>(
70
68
"databaseId" to databaseId,
71
69
"name" to name,
72
70
"enabled" to enabled,
73
-
"type" to type,
74
71
)
75
72
val apiHeaders = mutableMapOf<String, String>(
76
73
"content-type" to "application/json",
@@ -1462,7 +1459,7 @@ class TablesDb(client: Client) : Service(client) {
1462
1459
}
1463
1460
1464
1461
/**
1465
-
* List indexes in the collection.
1462
+
* List indexes on the table.
1466
1463
*
1467
1464
* @param databaseId Database ID.
1468
1465
* @param tableId Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tables#tablesCreate).
@@ -1499,7 +1496,7 @@ class TablesDb(client: Client) : Service(client) {
1499
1496
}
1500
1497
1501
1498
/**
1502
-
* Creates an index on the columns listed. Your index should include all the columns you will query in a single request.Attributes can be `key`, `fulltext`, and `unique`.
1499
+
* Creates an index on the columns listed. Your index should include all the columns you will query in a single request.Type can be `key`, `fulltext`, or `unique`.
1503
1500
*
1504
1501
* @param databaseId Database ID.
1505
1502
* @param tableId Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/server/tables#tablesCreate).
0 commit comments