diff --git a/docs/examples/1.8.x/client-android/java/tables/create-row.md b/docs/examples/1.8.x/client-android/java/tables/create-row.md deleted file mode 100644 index 8102b82c75..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/create-row.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.createRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/create-rows.md b/docs/examples/1.8.x/client-android/java/tables/create-rows.md deleted file mode 100644 index 26f5d67789..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/create-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey(""); // - -Tables tables = new Tables(client); - -tables.createRows( - "", // databaseId - "", // tableId - listOf(), // rows - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/delete-row.md b/docs/examples/1.8.x/client-android/java/tables/delete-row.md deleted file mode 100644 index 596a8b7aca..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/delete-row.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.deleteRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/get-row.md b/docs/examples/1.8.x/client-android/java/tables/get-row.md deleted file mode 100644 index 882a195376..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/get-row.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.getRow( - "", // databaseId - "", // tableId - "", // rowId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/list-rows.md b/docs/examples/1.8.x/client-android/java/tables/list-rows.md deleted file mode 100644 index 4d37570246..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/list-rows.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.listRows( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/update-row.md b/docs/examples/1.8.x/client-android/java/tables/update-row.md deleted file mode 100644 index 0421c9cffb..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/update-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject(""); // Your project ID - -Tables tables = new Tables(client); - -tables.updateRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data (optional) - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/java/tables/upsert-row.md b/docs/examples/1.8.x/client-android/java/tables/upsert-row.md deleted file mode 100644 index a8be0cfc6c..0000000000 --- a/docs/examples/1.8.x/client-android/java/tables/upsert-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.upsertRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - Log.d("Appwrite", result.toString()); - }) -); - diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/create-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/create-row.md deleted file mode 100644 index 8c581bf1d5..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val result = tables.createRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), - permissions = listOf("read("any")"), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md b/docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md deleted file mode 100644 index 1fde9c50cf..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // - -val tables = Tables(client) - -val result = tables.createRows( - databaseId = "", - tableId = "", - rows = listOf(), -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md deleted file mode 100644 index ffa3229f30..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.deleteRow( - databaseId = "", - tableId = "", - rowId = "", -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/get-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/get-row.md deleted file mode 100644 index 15dabff397..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.getRow( - databaseId = "", - tableId = "", - rowId = "", - queries = listOf(), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md b/docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md deleted file mode 100644 index ff36543938..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.listRows( - databaseId = "", - tableId = "", - queries = listOf(), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/update-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/update-row.md deleted file mode 100644 index e9b515cef4..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -val tables = Tables(client) - -val result = tables.updateRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), // (optional) - permissions = listOf("read("any")"), // (optional) -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md b/docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md deleted file mode 100644 index 6b7cb6666b..0000000000 --- a/docs/examples/1.8.x/client-android/kotlin/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client(context) - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val result = tables.upsertRow( - databaseId = "", - tableId = "", - rowId = "", -) \ No newline at end of file diff --git a/docs/examples/1.8.x/client-apple/examples/tables/create-row.md b/docs/examples/1.8.x/client-apple/examples/tables/create-row.md deleted file mode 100644 index 533cf2d555..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.createRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/create-rows.md b/docs/examples/1.8.x/client-apple/examples/tables/create-rows.md deleted file mode 100644 index effd748aa0..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/create-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // - -let tables = Tables(client) - -let rowList = try await tables.createRows( - databaseId: "", - tableId: "", - rows: [] -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/delete-row.md b/docs/examples/1.8.x/client-apple/examples/tables/delete-row.md deleted file mode 100644 index 7d12ec4f4c..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let result = try await tables.deleteRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/get-row.md b/docs/examples/1.8.x/client-apple/examples/tables/get-row.md deleted file mode 100644 index 93fbef9e7c..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let row = try await tables.getRow( - databaseId: "", - tableId: "", - rowId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/list-rows.md b/docs/examples/1.8.x/client-apple/examples/tables/list-rows.md deleted file mode 100644 index 31545cce4d..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let rowList = try await tables.listRows( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/update-row.md b/docs/examples/1.8.x/client-apple/examples/tables/update-row.md deleted file mode 100644 index 601c4f0a77..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - -let tables = Tables(client) - -let row = try await tables.updateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], // optional - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md deleted file mode 100644 index eabcb181c3..0000000000 --- a/docs/examples/1.8.x/client-apple/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.upsertRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/create-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/create-row.md deleted file mode 100644 index ac9923d813..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.createRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, - permissions: ["read("any")"], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md b/docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md deleted file mode 100644 index 38c4c7503d..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // - -Tables tables = Tables(client); - -RowList result = await tables.createRows( - databaseId: '', - tableId: '', - rows: [], -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md deleted file mode 100644 index 4187c4766d..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/delete-row.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -await tables.deleteRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/get-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/get-row.md deleted file mode 100644 index 8d8c52caa6..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/get-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -Row result = await tables.getRow( - databaseId: '', - tableId: '', - rowId: '', - queries: [], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md b/docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md deleted file mode 100644 index f770bbbd92..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/list-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -RowList result = await tables.listRows( - databaseId: '', - tableId: '', - queries: [], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/update-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/update-row.md deleted file mode 100644 index f43ba5e689..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/update-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -Tables tables = Tables(client); - -Row result = await tables.updateRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, // optional - permissions: ["read("any")"], // optional -); diff --git a/docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md deleted file mode 100644 index 26a872b692..0000000000 --- a/docs/examples/1.8.x/client-flutter/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:appwrite/appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.upsertRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/create-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/create-row.md deleted file mode 100644 index c88a7f36cf..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesCreateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md b/docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md deleted file mode 100644 index a4ae62cfae..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/create-rows.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesCreateRows( - databaseId: "", - tableId: "", - rows: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md deleted file mode 100644 index f3a35c1df1..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/delete-row.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/get-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/get-row.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/list-rows.md b/docs/examples/1.8.x/client-graphql/examples/tables/list-rows.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/update-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/update-row.md deleted file mode 100644 index 8449d8499b..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesUpdateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md deleted file mode 100644 index 480d7651bd..0000000000 --- a/docs/examples/1.8.x/client-graphql/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -mutation { - tablesUpsertRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/create-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/create-row.md deleted file mode 100644 index 75de1c2a39..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md b/docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md deleted file mode 100644 index 165aa4cb71..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // - -const tables = new Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md deleted file mode 100644 index 9746f85ea0..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/get-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/get-row.md deleted file mode 100644 index b9434e3957..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md b/docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md deleted file mode 100644 index 75f81a1435..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/update-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/update-row.md deleted file mode 100644 index 7bb36dd254..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md deleted file mode 100644 index f176425abb..0000000000 --- a/docs/examples/1.8.x/client-react-native/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "react-native-appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-rest/examples/tables/create-row.md b/docs/examples/1.8.x/client-rest/examples/tables/create-row.md deleted file mode 100644 index c4166b8b80..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/create-row.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - -{ - "rowId": "", - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/client-rest/examples/tables/create-rows.md b/docs/examples/1.8.x/client-rest/examples/tables/create-rows.md deleted file mode 100644 index 0935afd11e..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/create-rows.md +++ /dev/null @@ -1,11 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - -{ - "rows": [] -} diff --git a/docs/examples/1.8.x/client-rest/examples/tables/delete-row.md b/docs/examples/1.8.x/client-rest/examples/tables/delete-row.md deleted file mode 100644 index 954303d17a..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/delete-row.md +++ /dev/null @@ -1,8 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/client-rest/examples/tables/get-row.md b/docs/examples/1.8.x/client-rest/examples/tables/get-row.md deleted file mode 100644 index fc09601df7..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/get-row.md +++ /dev/null @@ -1,6 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/tables/list-rows.md b/docs/examples/1.8.x/client-rest/examples/tables/list-rows.md deleted file mode 100644 index de214e7cea..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/list-rows.md +++ /dev/null @@ -1,6 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/client-rest/examples/tables/update-row.md b/docs/examples/1.8.x/client-rest/examples/tables/update-row.md deleted file mode 100644 index f09f639e60..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/update-row.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - -{ - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md deleted file mode 100644 index 60528077ef..0000000000 --- a/docs/examples/1.8.x/client-rest/examples/tables/upsert-row.md +++ /dev/null @@ -1,8 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/client-web/examples/tables/create-row.md b/docs/examples/1.8.x/client-web/examples/tables/create-row.md deleted file mode 100644 index f7b54d1894..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/create-rows.md b/docs/examples/1.8.x/client-web/examples/tables/create-rows.md deleted file mode 100644 index 79d7d3f311..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // - -const tables = new Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/delete-row.md b/docs/examples/1.8.x/client-web/examples/tables/delete-row.md deleted file mode 100644 index 5c6c4b96d9..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/get-row.md b/docs/examples/1.8.x/client-web/examples/tables/get-row.md deleted file mode 100644 index 708b3d96cc..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/list-rows.md b/docs/examples/1.8.x/client-web/examples/tables/list-rows.md deleted file mode 100644 index f82d358f0d..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/update-row.md b/docs/examples/1.8.x/client-web/examples/tables/update-row.md deleted file mode 100644 index 0e0c5a012e..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/client-web/examples/tables/upsert-row.md b/docs/examples/1.8.x/client-web/examples/tables/upsert-row.md deleted file mode 100644 index f111fefd71..0000000000 --- a/docs/examples/1.8.x/client-web/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "appwrite"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md deleted file mode 100644 index 88e6bf8853..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createBooleanColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md deleted file mode 100644 index de28b7537c..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createDatetimeColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md deleted file mode 100644 index 23b672e62d..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-email-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createEmailColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md deleted file mode 100644 index 4cd3e1d241..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-enum-column.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables createEnumColumn \ - --databaseId \ - --tableId \ - --key '' \ - --elements one two three \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md deleted file mode 100644 index 9c69e29e91..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-float-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createFloatColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-index.md b/docs/examples/1.8.x/console-cli/examples/tables/create-index.md deleted file mode 100644 index 4c6d641727..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-index.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables createIndex \ - --databaseId \ - --tableId \ - --key '' \ - --type key \ - --columns one two three \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md deleted file mode 100644 index afab48e803..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-integer-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createIntegerColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md deleted file mode 100644 index 000b54b918..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-ip-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createIpColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md deleted file mode 100644 index 4ce3342768..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createRelationshipColumn \ - --databaseId \ - --tableId \ - --relatedTableId \ - --type oneToOne \ - - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-row.md b/docs/examples/1.8.x/console-cli/examples/tables/create-row.md deleted file mode 100644 index e446de157b..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-row.md +++ /dev/null @@ -1,6 +0,0 @@ -appwrite tables createRow \ - --databaseId \ - --tableId \ - --rowId \ - --data '{ "key": "value" }' \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/create-rows.md deleted file mode 100644 index cb7c68dd7b..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-rows.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables createRows \ - --databaseId \ - --tableId \ - --rows one two three diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md deleted file mode 100644 index 4df1792a34..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-string-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables createStringColumn \ - --databaseId \ - --tableId \ - --key '' \ - --size 1 \ - --required false \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md b/docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md deleted file mode 100644 index fcb81491bd..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create-url-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables createUrlColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/create.md b/docs/examples/1.8.x/console-cli/examples/tables/create.md deleted file mode 100644 index 09f52f16a1..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/create.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables create \ - --databaseId \ - --tableId \ - --name \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md deleted file mode 100644 index 73743c21ce..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables decrementRowColumn \ - --databaseId \ - --tableId \ - --rowId \ - --column '' \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-column.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-column.md deleted file mode 100644 index e659af54d0..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-column.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteColumn \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-index.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-index.md deleted file mode 100644 index 0de1e417d3..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-index.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteIndex \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-row.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-row.md deleted file mode 100644 index d6918be89e..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-row.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteRow \ - --databaseId \ - --tableId \ - --rowId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md deleted file mode 100644 index 579586b561..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete-rows.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables deleteRows \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/delete.md b/docs/examples/1.8.x/console-cli/examples/tables/delete.md deleted file mode 100644 index 0f189e09f1..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/delete.md +++ /dev/null @@ -1,3 +0,0 @@ -appwrite tables delete \ - --databaseId \ - --tableId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-column.md b/docs/examples/1.8.x/console-cli/examples/tables/get-column.md deleted file mode 100644 index 33a94b5ebc..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-column.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getColumn \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-index.md b/docs/examples/1.8.x/console-cli/examples/tables/get-index.md deleted file mode 100644 index e956175e09..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-index.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getIndex \ - --databaseId \ - --tableId \ - --key '' diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-row.md b/docs/examples/1.8.x/console-cli/examples/tables/get-row.md deleted file mode 100644 index 5b3b64bfbc..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-row.md +++ /dev/null @@ -1,5 +0,0 @@ -appwrite tables getRow \ - --databaseId \ - --tableId \ - --rowId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md b/docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md deleted file mode 100644 index f766a418a0..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-table-usage.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getTableUsage \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get-usage.md b/docs/examples/1.8.x/console-cli/examples/tables/get-usage.md deleted file mode 100644 index ca955ce6df..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get-usage.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables getUsage \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/get.md b/docs/examples/1.8.x/console-cli/examples/tables/get.md deleted file mode 100644 index a41e6c10ed..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/get.md +++ /dev/null @@ -1,3 +0,0 @@ -appwrite tables get \ - --databaseId \ - --tableId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md b/docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md deleted file mode 100644 index da73950231..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/increment-row-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables incrementRowColumn \ - --databaseId \ - --tableId \ - --rowId \ - --column '' \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-columns.md b/docs/examples/1.8.x/console-cli/examples/tables/list-columns.md deleted file mode 100644 index 0439d58127..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-columns.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listColumns \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md b/docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md deleted file mode 100644 index b5fd85b911..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-indexes.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listIndexes \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-logs.md b/docs/examples/1.8.x/console-cli/examples/tables/list-logs.md deleted file mode 100644 index 08c4ff0f8d..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-logs.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listLogs \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md b/docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md deleted file mode 100644 index e7a8c5b8ce..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-row-logs.md +++ /dev/null @@ -1,5 +0,0 @@ -appwrite tables listRowLogs \ - --databaseId \ - --tableId \ - --rowId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/list-rows.md deleted file mode 100644 index 2a6d69d574..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list-rows.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables listRows \ - --databaseId \ - --tableId \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/list.md b/docs/examples/1.8.x/console-cli/examples/tables/list.md deleted file mode 100644 index 1c58d9ed03..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/list.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables list \ - --databaseId \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md deleted file mode 100644 index 7d736f35e5..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateBooleanColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default false \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md deleted file mode 100644 index 3da3e4a919..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateDatetimeColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default '' \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md deleted file mode 100644 index df718b8d9a..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-email-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateEmailColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default email@example.com \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md deleted file mode 100644 index 55c55fc2bd..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-enum-column.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables updateEnumColumn \ - --databaseId \ - --tableId \ - --key '' \ - --elements one two three \ - --required false \ - --default \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md deleted file mode 100644 index 99667a8447..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-float-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables updateFloatColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default null \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md deleted file mode 100644 index 098efa0e3e..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-integer-column.md +++ /dev/null @@ -1,9 +0,0 @@ -appwrite tables updateIntegerColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default null \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md deleted file mode 100644 index 50eadc3fff..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-ip-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateIpColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default '' \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md deleted file mode 100644 index 43e0c0ae6e..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,6 +0,0 @@ -appwrite tables updateRelationshipColumn \ - --databaseId \ - --tableId \ - --key '' \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-row.md b/docs/examples/1.8.x/console-cli/examples/tables/update-row.md deleted file mode 100644 index d5cd0fe4ee..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-row.md +++ /dev/null @@ -1,6 +0,0 @@ -appwrite tables updateRow \ - --databaseId \ - --tableId \ - --rowId \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/update-rows.md deleted file mode 100644 index 173d608d5a..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-rows.md +++ /dev/null @@ -1,5 +0,0 @@ -appwrite tables updateRows \ - --databaseId \ - --tableId \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md deleted file mode 100644 index 3feaa734ec..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-string-column.md +++ /dev/null @@ -1,8 +0,0 @@ -appwrite tables updateStringColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default \ - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md b/docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md deleted file mode 100644 index 2df1ab14d7..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update-url-column.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables updateUrlColumn \ - --databaseId \ - --tableId \ - --key '' \ - --required false \ - --default https://example.com \ - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/update.md b/docs/examples/1.8.x/console-cli/examples/tables/update.md deleted file mode 100644 index a1550287c8..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/update.md +++ /dev/null @@ -1,7 +0,0 @@ -appwrite tables update \ - --databaseId \ - --tableId \ - --name \ - - - diff --git a/docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md b/docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md deleted file mode 100644 index 0281a89b20..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/upsert-row.md +++ /dev/null @@ -1,4 +0,0 @@ -appwrite tables upsertRow \ - --databaseId \ - --tableId \ - --rowId diff --git a/docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md b/docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md deleted file mode 100644 index 828caf8f10..0000000000 --- a/docs/examples/1.8.x/console-cli/examples/tables/upsert-rows.md +++ /dev/null @@ -1,3 +0,0 @@ -appwrite tables upsertRows \ - --databaseId \ - --tableId diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md deleted file mode 100644 index bf0cca08c1..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md deleted file mode 100644 index c9eb3af82c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-email-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-email-column.md deleted file mode 100644 index 3952161779..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md deleted file mode 100644 index 7b16da6c14..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-float-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-float-column.md deleted file mode 100644 index 6608864efe..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-index.md b/docs/examples/1.8.x/console-web/examples/tables/create-index.md deleted file mode 100644 index c303dd289d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-index.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables, IndexType } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createIndex( - '', // databaseId - '', // tableId - '', // key - IndexType.Key, // type - [], // columns - [], // orders (optional) - [] // lengths (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md deleted file mode 100644 index 0490b71189..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md deleted file mode 100644 index 644f520032..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md deleted file mode 100644 index 5658eec690..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables, RelationshipType, RelationMutate } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createRelationshipColumn( - '', // databaseId - '', // tableId - '', // relatedTableId - RelationshipType.OneToOne, // type - false, // twoWay (optional) - '', // key (optional) - '', // twoWayKey (optional) - RelationMutate.Cascade // onDelete (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-row.md b/docs/examples/1.8.x/console-web/examples/tables/create-row.md deleted file mode 100644 index ba18cb6fba..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-rows.md b/docs/examples/1.8.x/console-web/examples/tables/create-rows.md deleted file mode 100644 index bd7f984ee3..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-string-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-string-column.md deleted file mode 100644 index 6c1fbd7c99..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createStringColumn( - '', // databaseId - '', // tableId - '', // key - 1, // size - false, // required - '', // default (optional) - false, // array (optional) - false // encrypt (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create-url-column.md b/docs/examples/1.8.x/console-web/examples/tables/create-url-column.md deleted file mode 100644 index 88e1fc584d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.createUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default (optional) - false // array (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/create.md b/docs/examples/1.8.x/console-web/examples/tables/create.md deleted file mode 100644 index a7bda74508..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/create.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.create( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md deleted file mode 100644 index 35cb78686c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.decrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // min (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-column.md b/docs/examples/1.8.x/console-web/examples/tables/delete-column.md deleted file mode 100644 index 642856448a..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteColumn( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-index.md b/docs/examples/1.8.x/console-web/examples/tables/delete-index.md deleted file mode 100644 index f517513909..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteIndex( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-row.md b/docs/examples/1.8.x/console-web/examples/tables/delete-row.md deleted file mode 100644 index accbb3092a..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete-rows.md b/docs/examples/1.8.x/console-web/examples/tables/delete-rows.md deleted file mode 100644 index adbb613a35..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.deleteRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/delete.md b/docs/examples/1.8.x/console-web/examples/tables/delete.md deleted file mode 100644 index f235d8dda0..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/delete.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.delete( - '', // databaseId - '' // tableId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-column.md b/docs/examples/1.8.x/console-web/examples/tables/get-column.md deleted file mode 100644 index 7bd7f2db30..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getColumn( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-index.md b/docs/examples/1.8.x/console-web/examples/tables/get-index.md deleted file mode 100644 index dc8c3362cf..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getIndex( - '', // databaseId - '', // tableId - '' // key -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-row.md b/docs/examples/1.8.x/console-web/examples/tables/get-row.md deleted file mode 100644 index f37558d4ff..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md b/docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md deleted file mode 100644 index 4e6ca3270d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-table-usage.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables, } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getTableUsage( - '', // databaseId - '', // tableId - .24h // range (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get-usage.md b/docs/examples/1.8.x/console-web/examples/tables/get-usage.md deleted file mode 100644 index 0f9d31c92d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get-usage.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables, DatabaseUsageRange } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.getUsage( - '', // databaseId - '', // tableId - DatabaseUsageRange.TwentyFourHours // range (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/get.md b/docs/examples/1.8.x/console-web/examples/tables/get.md deleted file mode 100644 index 2b8951582a..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/get.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.get( - '', // databaseId - '' // tableId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md b/docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md deleted file mode 100644 index ed9710a0e3..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/increment-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.incrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // max (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-columns.md b/docs/examples/1.8.x/console-web/examples/tables/list-columns.md deleted file mode 100644 index 91348c4e61..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-columns.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listColumns( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-indexes.md b/docs/examples/1.8.x/console-web/examples/tables/list-indexes.md deleted file mode 100644 index 0ae874663d..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-indexes.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listIndexes( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-logs.md b/docs/examples/1.8.x/console-web/examples/tables/list-logs.md deleted file mode 100644 index 04d6c2300c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-logs.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listLogs( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md b/docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md deleted file mode 100644 index 691e589a77..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-row-logs.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRowLogs( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list-rows.md b/docs/examples/1.8.x/console-web/examples/tables/list-rows.md deleted file mode 100644 index 79f5e242a5..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/list.md b/docs/examples/1.8.x/console-web/examples/tables/list.md deleted file mode 100644 index e8eb3c3dd6..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/list.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.list( - '', // databaseId - [], // queries (optional) - '' // search (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md deleted file mode 100644 index e4bb9012e6..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md deleted file mode 100644 index d24683aafb..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-email-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-email-column.md deleted file mode 100644 index b9e2483191..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md deleted file mode 100644 index bfe084212c..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-float-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-float-column.md deleted file mode 100644 index 9075e31e69..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md deleted file mode 100644 index c45e4735a9..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md deleted file mode 100644 index f7cdb490dc..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md deleted file mode 100644 index 192eac7175..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables, RelationMutate } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRelationshipColumn( - '', // databaseId - '', // tableId - '', // key - RelationMutate.Cascade, // onDelete (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-row.md b/docs/examples/1.8.x/console-web/examples/tables/update-row.md deleted file mode 100644 index 0db00657c2..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-rows.md b/docs/examples/1.8.x/console-web/examples/tables/update-rows.md deleted file mode 100644 index 72b2244f75..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateRows( - '', // databaseId - '', // tableId - {}, // data (optional) - [] // queries (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-string-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-string-column.md deleted file mode 100644 index 8f6b3b5dad..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateStringColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - 1, // size (optional) - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update-url-column.md b/docs/examples/1.8.x/console-web/examples/tables/update-url-column.md deleted file mode 100644 index a2cb65d700..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.updateUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default - '' // newKey (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/update.md b/docs/examples/1.8.x/console-web/examples/tables/update.md deleted file mode 100644 index f0552604af..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/update.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject(''); // Your project ID - -const tables = new Tables(client); - -const result = await tables.update( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/upsert-row.md b/docs/examples/1.8.x/console-web/examples/tables/upsert-row.md deleted file mode 100644 index f1cb65e675..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); - -console.log(result); diff --git a/docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md b/docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md deleted file mode 100644 index 2d818cdbca..0000000000 --- a/docs/examples/1.8.x/console-web/examples/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "@appwrite.io/console"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const result = await tables.upsertRows( - '', // databaseId - '' // tableId -); - -console.log(result); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md deleted file mode 100644 index 5b3e987b9b..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnBoolean result = await tables.createBooleanColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: false, // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md deleted file mode 100644 index 1ad3fa250d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnDatetime result = await tables.createDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md deleted file mode 100644 index fa7ec71410..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEmail result = await tables.createEmailColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'email@example.com', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md deleted file mode 100644 index 5ab6bcc774..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEnum result = await tables.createEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md deleted file mode 100644 index 43331187ea..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnFloat result = await tables.createFloatColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - min: 0, // (optional) - max: 0, // (optional) - xdefault: 0, // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-index.md b/docs/examples/1.8.x/server-dart/examples/tables/create-index.md deleted file mode 100644 index d76c46959f..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-index.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIndex result = await tables.createIndex( - databaseId: '', - tableId: '', - key: '', - type: IndexType.key, - columns: [], - orders: [], // (optional) - lengths: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md deleted file mode 100644 index 3304325af7..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnInteger result = await tables.createIntegerColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - min: 0, // (optional) - max: 0, // (optional) - xdefault: 0, // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md deleted file mode 100644 index 68c7abf754..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIp result = await tables.createIpColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md deleted file mode 100644 index a059740bf8..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnRelationship result = await tables.createRelationshipColumn( - databaseId: '', - tableId: '', - relatedTableId: '', - type: RelationshipType.oneToOne, - twoWay: false, // (optional) - key: '', // (optional) - twoWayKey: '', // (optional) - onDelete: RelationMutate.cascade, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-row.md b/docs/examples/1.8.x/server-dart/examples/tables/create-row.md deleted file mode 100644 index 1ce1e1db7a..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.createRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, - permissions: ["read("any")"], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/create-rows.md deleted file mode 100644 index 219f2d2d33..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -RowList result = await tables.createRows( - databaseId: '', - tableId: '', - rows: [], -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md deleted file mode 100644 index 17e192b27e..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnString result = await tables.createStringColumn( - databaseId: '', - tableId: '', - key: '', - size: 1, - xrequired: false, - xdefault: '', // (optional) - array: false, // (optional) - encrypt: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md deleted file mode 100644 index d3692fc7ac..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnUrl result = await tables.createUrlColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'https://example.com', // (optional) - array: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/create.md b/docs/examples/1.8.x/server-dart/examples/tables/create.md deleted file mode 100644 index c3a4b2a989..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/create.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Table result = await tables.create( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // (optional) - rowSecurity: false, // (optional) - enabled: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md deleted file mode 100644 index 33d296110c..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Row result = await tables.decrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: 0, // (optional) - min: 0, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-column.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-column.md deleted file mode 100644 index 466564f618..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.deleteColumn( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-index.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-index.md deleted file mode 100644 index f2dfdbe74b..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.deleteIndex( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-row.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-row.md deleted file mode 100644 index b84c1b7a9f..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -await tables.deleteRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md deleted file mode 100644 index 41dc3a9520..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.deleteRows( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/delete.md b/docs/examples/1.8.x/server-dart/examples/tables/delete.md deleted file mode 100644 index 07c9815422..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/delete.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -await tables.delete( - databaseId: '', - tableId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get-column.md b/docs/examples/1.8.x/server-dart/examples/tables/get-column.md deleted file mode 100644 index 087139c87d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - - result = await tables.getColumn( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get-index.md b/docs/examples/1.8.x/server-dart/examples/tables/get-index.md deleted file mode 100644 index 3f79deef2f..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIndex result = await tables.getIndex( - databaseId: '', - tableId: '', - key: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get-row.md b/docs/examples/1.8.x/server-dart/examples/tables/get-row.md deleted file mode 100644 index 7efd04a69d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -Row result = await tables.getRow( - databaseId: '', - tableId: '', - rowId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/get.md b/docs/examples/1.8.x/server-dart/examples/tables/get.md deleted file mode 100644 index d02f9ff9d2..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/get.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Table result = await tables.get( - databaseId: '', - tableId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md deleted file mode 100644 index 188ab5d1ad..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/increment-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Row result = await tables.incrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: 0, // (optional) - max: 0, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list-columns.md b/docs/examples/1.8.x/server-dart/examples/tables/list-columns.md deleted file mode 100644 index 7b2d479ea3..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list-columns.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnList result = await tables.listColumns( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md deleted file mode 100644 index e7418de3bc..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list-indexes.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIndexList result = await tables.listIndexes( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/list-rows.md deleted file mode 100644 index 05f9567ac2..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -RowList result = await tables.listRows( - databaseId: '', - tableId: '', - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/list.md b/docs/examples/1.8.x/server-dart/examples/tables/list.md deleted file mode 100644 index 51a19c099d..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/list.md +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -TableList result = await tables.list( - databaseId: '', - queries: [], // (optional) - search: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md deleted file mode 100644 index c452238d7c..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnBoolean result = await tables.updateBooleanColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: false, - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md deleted file mode 100644 index 5b41d7e532..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnDatetime result = await tables.updateDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md deleted file mode 100644 index 444649a4fd..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEmail result = await tables.updateEmailColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'email@example.com', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md deleted file mode 100644 index 2e0566418a..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnEnum result = await tables.updateEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - xrequired: false, - xdefault: '', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md deleted file mode 100644 index 199d3840d6..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnFloat result = await tables.updateFloatColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 0, - min: 0, // (optional) - max: 0, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md deleted file mode 100644 index 479e63d870..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnInteger result = await tables.updateIntegerColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 0, - min: 0, // (optional) - max: 0, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md deleted file mode 100644 index 837ae4e606..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnIp result = await tables.updateIpColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md deleted file mode 100644 index 45745627ef..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnRelationship result = await tables.updateRelationshipColumn( - databaseId: '', - tableId: '', - key: '', - onDelete: RelationMutate.cascade, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-row.md b/docs/examples/1.8.x/server-dart/examples/tables/update-row.md deleted file mode 100644 index 436329235a..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -Tables tables = Tables(client); - -Row result = await tables.updateRow( - databaseId: '', - tableId: '', - rowId: '', - data: {}, // (optional) - permissions: ["read("any")"], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/update-rows.md deleted file mode 100644 index 3d2aaf3e28..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -RowList result = await tables.updateRows( - databaseId: '', - tableId: '', - data: {}, // (optional) - queries: [], // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md deleted file mode 100644 index dbd569feac..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-string-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnString result = await tables.updateStringColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: '', - size: 1, // (optional) - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md deleted file mode 100644 index 8630c718b5..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -ColumnUrl result = await tables.updateUrlColumn( - databaseId: '', - tableId: '', - key: '', - xrequired: false, - xdefault: 'https://example.com', - newKey: '', // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/update.md b/docs/examples/1.8.x/server-dart/examples/tables/update.md deleted file mode 100644 index 28ce03cd6c..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/update.md +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -Table result = await tables.update( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // (optional) - rowSecurity: false, // (optional) - enabled: false, // (optional) -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md deleted file mode 100644 index 47f93f2434..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -Tables tables = Tables(client); - -Row result = await tables.upsertRow( - databaseId: '', - tableId: '', - rowId: '', -); diff --git a/docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md deleted file mode 100644 index 73ceffa917..0000000000 --- a/docs/examples/1.8.x/server-dart/examples/tables/upsert-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:dart_appwrite/dart_appwrite.dart'; - -Client client = Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -Tables tables = Tables(client); - -RowList result = await tables.upsertRows( - databaseId: '', - tableId: '', -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md deleted file mode 100644 index 3f9abc8c05..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md deleted file mode 100644 index 898b67a787..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md deleted file mode 100644 index 82872e4087..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md deleted file mode 100644 index afbb8d00aa..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md deleted file mode 100644 index 44658bbaa9..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-index.md b/docs/examples/1.8.x/server-deno/examples/tables/create-index.md deleted file mode 100644 index c255189881..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-index.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables, IndexType } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createIndex( - '', // databaseId - '', // tableId - '', // key - IndexType.Key, // type - [], // columns - [], // orders (optional) - [] // lengths (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md deleted file mode 100644 index 0f1721b24a..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md deleted file mode 100644 index ca96de6293..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md deleted file mode 100644 index 8c7e26e62c..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables, RelationshipType, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createRelationshipColumn( - '', // databaseId - '', // tableId - '', // relatedTableId - RelationshipType.OneToOne, // type - false, // twoWay (optional) - '', // key (optional) - '', // twoWayKey (optional) - RelationMutate.Cascade // onDelete (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-row.md b/docs/examples/1.8.x/server-deno/examples/tables/create-row.md deleted file mode 100644 index 12cec49af0..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const response = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/create-rows.md deleted file mode 100644 index 6c4f7d5627..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md deleted file mode 100644 index db7ac8a760..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createStringColumn( - '', // databaseId - '', // tableId - '', // key - 1, // size - false, // required - '', // default (optional) - false, // array (optional) - false // encrypt (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md deleted file mode 100644 index 8d6f127c00..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.createUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/create.md b/docs/examples/1.8.x/server-deno/examples/tables/create.md deleted file mode 100644 index 9c75c22c3d..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/create.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.create( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md deleted file mode 100644 index e561acc529..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.decrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // min (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-column.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-column.md deleted file mode 100644 index 89900bfbf0..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.deleteColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-index.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-index.md deleted file mode 100644 index a17791cef2..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.deleteIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-row.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-row.md deleted file mode 100644 index 8f30eae2d2..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md deleted file mode 100644 index c5aa88f9a2..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.deleteRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/delete.md b/docs/examples/1.8.x/server-deno/examples/tables/delete.md deleted file mode 100644 index 36df1373dc..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/delete.md +++ /dev/null @@ -1,13 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.delete( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get-column.md b/docs/examples/1.8.x/server-deno/examples/tables/get-column.md deleted file mode 100644 index 8a56af67e7..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get-column.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.getColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get-index.md b/docs/examples/1.8.x/server-deno/examples/tables/get-index.md deleted file mode 100644 index 61105dc661..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get-index.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.getIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get-row.md b/docs/examples/1.8.x/server-deno/examples/tables/get-row.md deleted file mode 100644 index 674ea3e648..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/get.md b/docs/examples/1.8.x/server-deno/examples/tables/get.md deleted file mode 100644 index cc1dcb8c51..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/get.md +++ /dev/null @@ -1,13 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.get( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md deleted file mode 100644 index 9779d8776e..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/increment-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.incrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // max (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list-columns.md b/docs/examples/1.8.x/server-deno/examples/tables/list-columns.md deleted file mode 100644 index 63ec0777bb..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list-columns.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.listColumns( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md deleted file mode 100644 index 587d19f362..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list-indexes.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.listIndexes( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/list-rows.md deleted file mode 100644 index 6db6bea439..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/list.md b/docs/examples/1.8.x/server-deno/examples/tables/list.md deleted file mode 100644 index d4da8409c9..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/list.md +++ /dev/null @@ -1,14 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.list( - '', // databaseId - [], // queries (optional) - '' // search (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md deleted file mode 100644 index 8710c27ede..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md deleted file mode 100644 index e1ca760e31..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md deleted file mode 100644 index b0e25348d4..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md deleted file mode 100644 index 8771213a79..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md deleted file mode 100644 index a2e6f55c1f..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md deleted file mode 100644 index 51ea17f943..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md deleted file mode 100644 index 4a5a1d0f81..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md deleted file mode 100644 index c83b82037a..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables, RelationMutate } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateRelationshipColumn( - '', // databaseId - '', // tableId - '', // key - RelationMutate.Cascade, // onDelete (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-row.md b/docs/examples/1.8.x/server-deno/examples/tables/update-row.md deleted file mode 100644 index 13da5615e7..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new Tables(client); - -const response = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/update-rows.md deleted file mode 100644 index 1bc0a18b98..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateRows( - '', // databaseId - '', // tableId - {}, // data (optional) - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md deleted file mode 100644 index 00dd310b1e..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-string-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateStringColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - 1, // size (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md deleted file mode 100644 index 2ebf80a356..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.updateUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/update.md b/docs/examples/1.8.x/server-deno/examples/tables/update.md deleted file mode 100644 index 43b51bd284..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/update.md +++ /dev/null @@ -1,17 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.update( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md deleted file mode 100644 index 45e932c7f6..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new Tables(client); - -const response = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md deleted file mode 100644 index 9e3f542051..0000000000 --- a/docs/examples/1.8.x/server-deno/examples/tables/upsert-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -import { Client, Tables } from "https://deno.land/x/appwrite/mod.ts"; - -const client = new Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new Tables(client); - -const response = await tables.upsertRows( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md deleted file mode 100644 index 1492487721..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnBoolean result = await tables.CreateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md deleted file mode 100644 index 6a1e07b907..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnDatetime result = await tables.CreateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md deleted file mode 100644 index a4740484f5..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEmail result = await tables.CreateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md deleted file mode 100644 index 9529ad1331..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEnum result = await tables.CreateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: new List(), - required: false, - default: "", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md deleted file mode 100644 index f8146ce272..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnFloat result = await tables.CreateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md deleted file mode 100644 index 4ea3817da2..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Enums; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIndex result = await tables.CreateIndex( - databaseId: "", - tableId: "", - key: "", - type: IndexType.Key, - columns: new List(), - orders: new List(), // optional - lengths: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md deleted file mode 100644 index 6090426792..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnInteger result = await tables.CreateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md deleted file mode 100644 index b5e5067e6f..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIp result = await tables.CreateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md deleted file mode 100644 index 7c4cba49dd..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,22 +0,0 @@ -using Appwrite; -using Appwrite.Enums; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnRelationship result = await tables.CreateRelationshipColumn( - databaseId: "", - tableId: "", - relatedTableId: "", - type: RelationshipType.OneToOne, - twoWay: false, // optional - key: "", // optional - twoWayKey: "", // optional - onDelete: RelationMutate.Cascade // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md deleted file mode 100644 index 642bfe457c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetSession("") // The user session to authenticate with - .SetKey("") // Your secret API key - .SetJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -Row result = await tables.CreateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [object], - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md deleted file mode 100644 index 1d44dc51ed..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetAdmin("") // - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -RowList result = await tables.CreateRows( - databaseId: "", - tableId: "", - rows: new List() -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md deleted file mode 100644 index e623ac0789..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnString result = await tables.CreateStringColumn( - databaseId: "", - tableId: "", - key: "", - size: 1, - required: false, - default: "", // optional - array: false, // optional - encrypt: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md deleted file mode 100644 index 7a0fbd0a83..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnUrl result = await tables.CreateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/create.md b/docs/examples/1.8.x/server-dotnet/examples/tables/create.md deleted file mode 100644 index 694f4101a7..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/create.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Table result = await tables.Create( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md deleted file mode 100644 index 220fb2b18a..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Row result = await tables.DecrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - min: 0 // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md deleted file mode 100644 index ca8987eec9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-column.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.DeleteColumn( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md deleted file mode 100644 index ba7a024167..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-index.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.DeleteIndex( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md deleted file mode 100644 index 95bae6ad6b..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-row.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -await tables.DeleteRow( - databaseId: "", - tableId: "", - rowId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md deleted file mode 100644 index 46a6e0ba94..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.DeleteRows( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/delete.md b/docs/examples/1.8.x/server-dotnet/examples/tables/delete.md deleted file mode 100644 index bcff3ea05a..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/delete.md +++ /dev/null @@ -1,15 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -await tables.Delete( - databaseId: "", - tableId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md deleted file mode 100644 index 71ebb81aef..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get-column.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - - result = await tables.GetColumn( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md deleted file mode 100644 index f5b886e3e9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get-index.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIndex result = await tables.GetIndex( - databaseId: "", - tableId: "", - key: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md deleted file mode 100644 index 474b3342c9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get-row.md +++ /dev/null @@ -1,17 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -Row result = await tables.GetRow( - databaseId: "", - tableId: "", - rowId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/get.md b/docs/examples/1.8.x/server-dotnet/examples/tables/get.md deleted file mode 100644 index 1e86d228a6..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/get.md +++ /dev/null @@ -1,15 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Table result = await tables.Get( - databaseId: "", - tableId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md deleted file mode 100644 index e8ccd8ca78..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Row result = await tables.IncrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - max: 0 // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md deleted file mode 100644 index fe8c739cf9..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list-columns.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnList result = await tables.ListColumns( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md deleted file mode 100644 index 907a21048f..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list-indexes.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIndexList result = await tables.ListIndexes( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md deleted file mode 100644 index 474c597a1c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -RowList result = await tables.ListRows( - databaseId: "", - tableId: "", - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/list.md b/docs/examples/1.8.x/server-dotnet/examples/tables/list.md deleted file mode 100644 index 2871a927c4..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/list.md +++ /dev/null @@ -1,16 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -TableList result = await tables.List( - databaseId: "", - queries: new List(), // optional - search: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md deleted file mode 100644 index 5c610fbe7a..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnBoolean result = await tables.UpdateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md deleted file mode 100644 index 754d0f1ae6..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnDatetime result = await tables.UpdateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md deleted file mode 100644 index 6000c54e8f..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEmail result = await tables.UpdateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md deleted file mode 100644 index 2eaa1a51a1..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnEnum result = await tables.UpdateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: new List(), - required: false, - default: "", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md deleted file mode 100644 index 7d18d8e624..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnFloat result = await tables.UpdateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md deleted file mode 100644 index 0b3b85652c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnInteger result = await tables.UpdateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md deleted file mode 100644 index ccdd0d5235..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnIp result = await tables.UpdateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md deleted file mode 100644 index be6aa31f73..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Enums; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnRelationship result = await tables.UpdateRelationshipColumn( - databaseId: "", - tableId: "", - key: "", - onDelete: RelationMutate.Cascade, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md deleted file mode 100644 index d049ccf805..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -Row result = await tables.UpdateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [object], // optional - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md deleted file mode 100644 index 9d2c51c4b3..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -RowList result = await tables.UpdateRows( - databaseId: "", - tableId: "", - data: [object], // optional - queries: new List() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md deleted file mode 100644 index da280e7d8c..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnString result = await tables.UpdateStringColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - size: 1, // optional - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md deleted file mode 100644 index 1ce961da2b..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -ColumnUrl result = await tables.UpdateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - newKey: "" // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/update.md b/docs/examples/1.8.x/server-dotnet/examples/tables/update.md deleted file mode 100644 index 584c61c6bb..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/update.md +++ /dev/null @@ -1,19 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetProject("") // Your project ID - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -Table result = await tables.Update( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md deleted file mode 100644 index a73c4e2402..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetSession("") // The user session to authenticate with - .SetKey("") // Your secret API key - .SetJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -Row result = await tables.UpsertRow( - databaseId: "", - tableId: "", - rowId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md deleted file mode 100644 index 07e5e927c6..0000000000 --- a/docs/examples/1.8.x/server-dotnet/examples/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -using Appwrite; -using Appwrite.Models; -using Appwrite.Services; - -Client client = new Client() - .SetEndPoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .SetAdmin("") // - .SetKey(""); // Your secret API key - -Tables tables = new Tables(client); - -RowList result = await tables.UpsertRows( - databaseId: "", - tableId: "" -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md deleted file mode 100644 index 70a666257f..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateBooleanColumn( - "", - "", - "", - false, - tables.WithCreateBooleanColumnDefault(false), - tables.WithCreateBooleanColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md deleted file mode 100644 index beb8bd09e6..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateDatetimeColumn( - "", - "", - "", - false, - tables.WithCreateDatetimeColumnDefault(""), - tables.WithCreateDatetimeColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-email-column.md deleted file mode 100644 index 449cc0e88a..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-email-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateEmailColumn( - "", - "", - "", - false, - tables.WithCreateEmailColumnDefault("email@example.com"), - tables.WithCreateEmailColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md deleted file mode 100644 index 8f3bb84bb7..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-enum-column.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateEnumColumn( - "", - "", - "", - []interface{}{}, - false, - tables.WithCreateEnumColumnDefault(""), - tables.WithCreateEnumColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-float-column.md deleted file mode 100644 index eeabd851b9..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-float-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateFloatColumn( - "", - "", - "", - false, - tables.WithCreateFloatColumnMin(0), - tables.WithCreateFloatColumnMax(0), - tables.WithCreateFloatColumnDefault(0), - tables.WithCreateFloatColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-index.md b/docs/examples/1.8.x/server-go/examples/tables/create-index.md deleted file mode 100644 index 1737b29f6f..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-index.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateIndex( - "", - "", - "", - "key", - []interface{}{}, - tables.WithCreateIndexOrders([]interface{}{}), - tables.WithCreateIndexLengths([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md deleted file mode 100644 index 45a81f6415..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-integer-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateIntegerColumn( - "", - "", - "", - false, - tables.WithCreateIntegerColumnMin(0), - tables.WithCreateIntegerColumnMax(0), - tables.WithCreateIntegerColumnDefault(0), - tables.WithCreateIntegerColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md deleted file mode 100644 index f6d203d65e..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-ip-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateIpColumn( - "", - "", - "", - false, - tables.WithCreateIpColumnDefault(""), - tables.WithCreateIpColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md deleted file mode 100644 index e2e6de59de..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateRelationshipColumn( - "", - "", - "", - "oneToOne", - tables.WithCreateRelationshipColumnTwoWay(false), - tables.WithCreateRelationshipColumnKey(""), - tables.WithCreateRelationshipColumnTwoWayKey(""), - tables.WithCreateRelationshipColumnOnDelete("cascade"), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-row.md b/docs/examples/1.8.x/server-go/examples/tables/create-row.md deleted file mode 100644 index 329f2a1c9c..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-row.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithSession("") // The user session to authenticate with - client.WithKey("") // Your secret API key - client.WithJWT("") // Your secret JSON Web Token - ) - - service := tables.New(client) - response, error := service.CreateRow( - "", - "", - "", - map[string]interface{}{}, - tables.WithCreateRowPermissions(interface{}{"read("any")"}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-rows.md b/docs/examples/1.8.x/server-go/examples/tables/create-rows.md deleted file mode 100644 index 7d32206bea..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-rows.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithAdmin("") // - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateRows( - "", - "", - []interface{}{}, - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-string-column.md deleted file mode 100644 index afb41e2728..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-string-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateStringColumn( - "", - "", - "", - 1, - false, - tables.WithCreateStringColumnDefault(""), - tables.WithCreateStringColumnArray(false), - tables.WithCreateStringColumnEncrypt(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-go/examples/tables/create-url-column.md deleted file mode 100644 index c4e30e30cd..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create-url-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.CreateUrlColumn( - "", - "", - "", - false, - tables.WithCreateUrlColumnDefault("https://example.com"), - tables.WithCreateUrlColumnArray(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/create.md b/docs/examples/1.8.x/server-go/examples/tables/create.md deleted file mode 100644 index 672824daa6..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/create.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Create( - "", - "", - "", - tables.WithCreatePermissions(interface{}{"read("any")"}), - tables.WithCreateRowSecurity(false), - tables.WithCreateEnabled(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md deleted file mode 100644 index 8ef1d26a59..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DecrementRowColumn( - "", - "", - "", - "", - tables.WithDecrementRowColumnValue(0), - tables.WithDecrementRowColumnMin(0), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-column.md b/docs/examples/1.8.x/server-go/examples/tables/delete-column.md deleted file mode 100644 index f66fc199c3..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-column.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DeleteColumn( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-index.md b/docs/examples/1.8.x/server-go/examples/tables/delete-index.md deleted file mode 100644 index 1dddeef4e8..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-index.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DeleteIndex( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-row.md b/docs/examples/1.8.x/server-go/examples/tables/delete-row.md deleted file mode 100644 index 9f55934e41..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-row.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.DeleteRow( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-go/examples/tables/delete-rows.md deleted file mode 100644 index 3ad38f8067..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete-rows.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.DeleteRows( - "", - "", - tables.WithDeleteRowsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/delete.md b/docs/examples/1.8.x/server-go/examples/tables/delete.md deleted file mode 100644 index 9637acc51d..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/delete.md +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Delete( - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get-column.md b/docs/examples/1.8.x/server-go/examples/tables/get-column.md deleted file mode 100644 index 292d22800e..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get-column.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.GetColumn( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get-index.md b/docs/examples/1.8.x/server-go/examples/tables/get-index.md deleted file mode 100644 index 077e823195..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get-index.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.GetIndex( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get-row.md b/docs/examples/1.8.x/server-go/examples/tables/get-row.md deleted file mode 100644 index a224c60d98..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get-row.md +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.GetRow( - "", - "", - "", - tables.WithGetRowQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/get.md b/docs/examples/1.8.x/server-go/examples/tables/get.md deleted file mode 100644 index 60304a8fd0..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/get.md +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Get( - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md deleted file mode 100644 index 5d8b2f5578..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/increment-row-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.IncrementRowColumn( - "", - "", - "", - "", - tables.WithIncrementRowColumnValue(0), - tables.WithIncrementRowColumnMax(0), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list-columns.md b/docs/examples/1.8.x/server-go/examples/tables/list-columns.md deleted file mode 100644 index 25712ef2a7..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list-columns.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.ListColumns( - "", - "", - tables.WithListColumnsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-go/examples/tables/list-indexes.md deleted file mode 100644 index 0be8e81164..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list-indexes.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.ListIndexes( - "", - "", - tables.WithListIndexesQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list-rows.md b/docs/examples/1.8.x/server-go/examples/tables/list-rows.md deleted file mode 100644 index aadbcf1dad..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list-rows.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.ListRows( - "", - "", - tables.WithListRowsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/list.md b/docs/examples/1.8.x/server-go/examples/tables/list.md deleted file mode 100644 index 1942b7a2d2..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/list.md +++ /dev/null @@ -1,28 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.List( - "", - tables.WithListQueries([]interface{}{}), - tables.WithListSearch(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md deleted file mode 100644 index c76c3bb1cc..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateBooleanColumn( - "", - "", - "", - false, - false, - tables.WithUpdateBooleanColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md deleted file mode 100644 index e093904ad5..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateDatetimeColumn( - "", - "", - "", - false, - "", - tables.WithUpdateDatetimeColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-email-column.md deleted file mode 100644 index 08845b5149..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-email-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateEmailColumn( - "", - "", - "", - false, - "email@example.com", - tables.WithUpdateEmailColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md deleted file mode 100644 index e639f850ba..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-enum-column.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateEnumColumn( - "", - "", - "", - []interface{}{}, - false, - "", - tables.WithUpdateEnumColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-float-column.md deleted file mode 100644 index 83fa3777c2..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-float-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateFloatColumn( - "", - "", - "", - false, - 0, - tables.WithUpdateFloatColumnMin(0), - tables.WithUpdateFloatColumnMax(0), - tables.WithUpdateFloatColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md deleted file mode 100644 index 5bbea02709..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-integer-column.md +++ /dev/null @@ -1,33 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateIntegerColumn( - "", - "", - "", - false, - 0, - tables.WithUpdateIntegerColumnMin(0), - tables.WithUpdateIntegerColumnMax(0), - tables.WithUpdateIntegerColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md deleted file mode 100644 index f67711aaed..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-ip-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateIpColumn( - "", - "", - "", - false, - "", - tables.WithUpdateIpColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md deleted file mode 100644 index 1ec20edbb6..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateRelationshipColumn( - "", - "", - "", - tables.WithUpdateRelationshipColumnOnDelete("cascade"), - tables.WithUpdateRelationshipColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-row.md b/docs/examples/1.8.x/server-go/examples/tables/update-row.md deleted file mode 100644 index 8ef1189769..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-row.md +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithSession("") // The user session to authenticate with - ) - - service := tables.New(client) - response, error := service.UpdateRow( - "", - "", - "", - tables.WithUpdateRowData(map[string]interface{}{}), - tables.WithUpdateRowPermissions(interface{}{"read("any")"}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-rows.md b/docs/examples/1.8.x/server-go/examples/tables/update-rows.md deleted file mode 100644 index 7579e32851..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-rows.md +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateRows( - "", - "", - tables.WithUpdateRowsData(map[string]interface{}{}), - tables.WithUpdateRowsQueries([]interface{}{}), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-string-column.md deleted file mode 100644 index 0a21b05e19..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-string-column.md +++ /dev/null @@ -1,32 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateStringColumn( - "", - "", - "", - false, - "", - tables.WithUpdateStringColumnSize(1), - tables.WithUpdateStringColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-go/examples/tables/update-url-column.md deleted file mode 100644 index aeb0541648..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update-url-column.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpdateUrlColumn( - "", - "", - "", - false, - "https://example.com", - tables.WithUpdateUrlColumnNewKey(""), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/update.md b/docs/examples/1.8.x/server-go/examples/tables/update.md deleted file mode 100644 index 7a75c10713..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/update.md +++ /dev/null @@ -1,31 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithProject("") // Your project ID - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.Update( - "", - "", - "", - tables.WithUpdatePermissions(interface{}{"read("any")"}), - tables.WithUpdateRowSecurity(false), - tables.WithUpdateEnabled(false), - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-go/examples/tables/upsert-row.md deleted file mode 100644 index 9bc9f00f8b..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/upsert-row.md +++ /dev/null @@ -1,29 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithSession("") // The user session to authenticate with - client.WithKey("") // Your secret API key - client.WithJWT("") // Your secret JSON Web Token - ) - - service := tables.New(client) - response, error := service.UpsertRow( - "", - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md deleted file mode 100644 index bc5a4db007..0000000000 --- a/docs/examples/1.8.x/server-go/examples/tables/upsert-rows.md +++ /dev/null @@ -1,27 +0,0 @@ -package main - -import ( - "fmt" - "github.com/appwrite/sdk-for-go/client" - "github.com/appwrite/sdk-for-go/tables" -) - -func main() { - client := client.New( - client.WithEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - client.WithAdmin("") // - client.WithKey("") // Your secret API key - ) - - service := tables.New(client) - response, error := service.UpsertRows( - "", - "", - ) - - if error != nil { - panic(error) - } - - fmt.Println(response) -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md deleted file mode 100644 index 564b1a964c..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -mutation { - tablesCreateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md deleted file mode 100644 index 34055c27fa..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md deleted file mode 100644 index a45001d0be..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-email-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md deleted file mode 100644 index 5d1c516e3a..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-enum-column.md +++ /dev/null @@ -1,23 +0,0 @@ -mutation { - tablesCreateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - elements - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md deleted file mode 100644 index 09bf481a33..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-float-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesCreateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, - max: 0, - default: 0, - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-index.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-index.md deleted file mode 100644 index bc47403c64..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateIndex( - databaseId: "", - tableId: "", - key: "", - type: "key", - columns: [], - orders: [], - lengths: [] - ) { - key - type - status - error - columns - lengths - orders - _createdAt - _updatedAt - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md deleted file mode 100644 index 04273b18b5..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-integer-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesCreateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, - max: 0, - default: 0, - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md deleted file mode 100644 index c2f07c760b..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-ip-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md deleted file mode 100644 index 8e56bd3867..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,27 +0,0 @@ -mutation { - tablesCreateRelationshipColumn( - databaseId: "", - tableId: "", - relatedTableId: "", - type: "oneToOne", - twoWay: false, - key: "", - twoWayKey: "", - onDelete: "cascade" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - relatedTable - relationType - twoWay - twoWayKey - onDelete - side - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-row.md deleted file mode 100644 index c88a7f36cf..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesCreateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md deleted file mode 100644 index a4ae62cfae..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-rows.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesCreateRows( - databaseId: "", - tableId: "", - rows: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md deleted file mode 100644 index b0b11c2610..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-string-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesCreateStringColumn( - databaseId: "", - tableId: "", - key: "", - size: 1, - required: false, - default: "", - array: false, - encrypt: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - size - default - encrypt - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md deleted file mode 100644 index 134208b432..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create-url-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesCreateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - array: false - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/create.md b/docs/examples/1.8.x/server-graphql/examples/tables/create.md deleted file mode 100644 index 73af2c4a8c..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/create.md +++ /dev/null @@ -1,31 +0,0 @@ -mutation { - tablesCreate( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], - rowSecurity: false, - enabled: false - ) { - _id - _createdAt - _updatedAt - _permissions - databaseId - name - enabled - rowSecurity - columns - indexes { - key - type - status - error - columns - lengths - orders - _createdAt - _updatedAt - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md deleted file mode 100644 index 4ee58849ff..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesDecrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, - min: 0 - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md deleted file mode 100644 index 2c2ab098d6..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-column.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteColumn( - databaseId: "", - tableId: "", - key: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md deleted file mode 100644 index c95db41fd6..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-index.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteIndex( - databaseId: "", - tableId: "", - key: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md deleted file mode 100644 index f3a35c1df1..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-row.md +++ /dev/null @@ -1,9 +0,0 @@ -mutation { - tablesDeleteRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md deleted file mode 100644 index 1ee227b7e5..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete-rows.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesDeleteRows( - databaseId: "", - tableId: "", - queries: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/delete.md b/docs/examples/1.8.x/server-graphql/examples/tables/delete.md deleted file mode 100644 index 1749422f6a..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/delete.md +++ /dev/null @@ -1,8 +0,0 @@ -mutation { - tablesDelete( - databaseId: "", - tableId: "" - ) { - status - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/get-column.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get-index.md b/docs/examples/1.8.x/server-graphql/examples/tables/get-index.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/get-row.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/get.md b/docs/examples/1.8.x/server-graphql/examples/tables/get.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md deleted file mode 100644 index f84f149672..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -mutation { - tablesIncrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, - max: 0 - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list-columns.md b/docs/examples/1.8.x/server-graphql/examples/tables/list-columns.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-graphql/examples/tables/list-indexes.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/list-rows.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/list.md b/docs/examples/1.8.x/server-graphql/examples/tables/list.md deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md deleted file mode 100644 index 541abd97cc..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -mutation { - tablesUpdateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md deleted file mode 100644 index 01714377a4..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md deleted file mode 100644 index ffb3a21e66..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-email-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md deleted file mode 100644 index 45ddb00d6f..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-enum-column.md +++ /dev/null @@ -1,23 +0,0 @@ -mutation { - tablesUpdateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - elements - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md deleted file mode 100644 index f592a53858..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-float-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesUpdateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, - max: 0, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md deleted file mode 100644 index a51f02d4d7..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-integer-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesUpdateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, - max: 0, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - min - max - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md deleted file mode 100644 index c353c79105..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-ip-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md deleted file mode 100644 index e94800345b..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,24 +0,0 @@ -mutation { - tablesUpdateRelationshipColumn( - databaseId: "", - tableId: "", - key: "", - onDelete: "cascade", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - relatedTable - relationType - twoWay - twoWayKey - onDelete - side - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-row.md deleted file mode 100644 index 8449d8499b..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesUpdateRow( - databaseId: "", - tableId: "", - rowId: "", - data: "{}", - permissions: ["read("any")"] - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md deleted file mode 100644 index 510648f6e1..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-rows.md +++ /dev/null @@ -1,20 +0,0 @@ -mutation { - tablesUpdateRows( - databaseId: "", - tableId: "", - data: "{}", - queries: [] - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md deleted file mode 100644 index 0771d9a6af..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-string-column.md +++ /dev/null @@ -1,23 +0,0 @@ -mutation { - tablesUpdateStringColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - size: 1, - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - size - default - encrypt - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md deleted file mode 100644 index a5c4a4432d..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update-url-column.md +++ /dev/null @@ -1,21 +0,0 @@ -mutation { - tablesUpdateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - newKey: "" - ) { - key - type - status - error - required - array - _createdAt - _updatedAt - format - default - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/update.md b/docs/examples/1.8.x/server-graphql/examples/tables/update.md deleted file mode 100644 index 4aa434c3ed..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/update.md +++ /dev/null @@ -1,31 +0,0 @@ -mutation { - tablesUpdate( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], - rowSecurity: false, - enabled: false - ) { - _id - _createdAt - _updatedAt - _permissions - databaseId - name - enabled - rowSecurity - columns - indexes { - key - type - status - error - columns - lengths - orders - _createdAt - _updatedAt - } - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md deleted file mode 100644 index 480d7651bd..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -mutation { - tablesUpsertRow( - databaseId: "", - tableId: "", - rowId: "" - ) { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } -} diff --git a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md deleted file mode 100644 index 6015470c16..0000000000 --- a/docs/examples/1.8.x/server-graphql/examples/tables/upsert-rows.md +++ /dev/null @@ -1,18 +0,0 @@ -mutation { - tablesUpsertRows( - databaseId: "", - tableId: "" - ) { - total - rows { - _id - _sequence - _tableId - _databaseId - _createdAt - _updatedAt - _permissions - data - } - } -} diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md deleted file mode 100644 index 2336ee90e0..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-boolean-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createBooleanColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - false, // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md deleted file mode 100644 index dd3df83dbf..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-datetime-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createDatetimeColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md deleted file mode 100644 index 3b130d1ecd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-email-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createEmailColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "email@example.com", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md deleted file mode 100644 index 73c6e1c7de..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-enum-column.md +++ /dev/null @@ -1,29 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createEnumColumn( - "", // databaseId - "", // tableId - "", // key - listOf(), // elements - false, // required - "", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md deleted file mode 100644 index dd6f207ff4..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-float-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createFloatColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // min (optional) - 0, // max (optional) - 0, // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-index.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-index.md deleted file mode 100644 index 2a4df003c0..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-index.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; -import io.appwrite.enums.IndexType; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createIndex( - "", // databaseId - "", // tableId - "", // key - IndexType.KEY, // type - listOf(), // columns - listOf(), // orders (optional) - listOf(), // lengths (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md deleted file mode 100644 index 3546ac8174..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-integer-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createIntegerColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // min (optional) - 0, // max (optional) - 0, // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md deleted file mode 100644 index 825d8b0c5c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-ip-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createIpColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md deleted file mode 100644 index 7a0b50a541..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-relationship-column.md +++ /dev/null @@ -1,31 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; -import io.appwrite.enums.RelationshipType; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createRelationshipColumn( - "", // databaseId - "", // tableId - "", // relatedTableId - RelationshipType.ONETOONE, // type - false, // twoWay (optional) - "", // key (optional) - "", // twoWayKey (optional) - RelationMutate.CASCADE, // onDelete (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-row.md deleted file mode 100644 index 7ba3678aad..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-row.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.createRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md deleted file mode 100644 index c20aa2c11f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createRows( - "", // databaseId - "", // tableId - listOf(), // rows - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md deleted file mode 100644 index b8cb626601..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-string-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createStringColumn( - "", // databaseId - "", // tableId - "", // key - 1, // size - false, // required - "", // default (optional) - false, // array (optional) - false, // encrypt (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md deleted file mode 100644 index 91e90c8bc4..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create-url-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.createUrlColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "https://example.com", // default (optional) - false, // array (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/create.md b/docs/examples/1.8.x/server-kotlin/java/tables/create.md deleted file mode 100644 index 6a9faf06dd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/create.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.create( - "", // databaseId - "", // tableId - "", // name - listOf("read("any")"), // permissions (optional) - false, // rowSecurity (optional) - false, // enabled (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md deleted file mode 100644 index 9e79f36e14..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/decrement-row-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.decrementRowColumn( - "", // databaseId - "", // tableId - "", // rowId - "", // column - 0, // value (optional) - 0, // min (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md deleted file mode 100644 index f14390c905..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-column.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.deleteColumn( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md deleted file mode 100644 index 1b22eb00d8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-index.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.deleteIndex( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md deleted file mode 100644 index a48745a225..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-row.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.deleteRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md deleted file mode 100644 index 6a86321fad..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.deleteRows( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/delete.md b/docs/examples/1.8.x/server-kotlin/java/tables/delete.md deleted file mode 100644 index e777c7292e..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/delete.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.delete( - "", // databaseId - "", // tableId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/get-column.md deleted file mode 100644 index b4f7e1298f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get-column.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.getColumn( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get-index.md b/docs/examples/1.8.x/server-kotlin/java/tables/get-index.md deleted file mode 100644 index 5bcd59d4cd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get-index.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.getIndex( - "", // databaseId - "", // tableId - "", // key - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/get-row.md deleted file mode 100644 index 7f72c25cd8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.getRow( - "", // databaseId - "", // tableId - "", // rowId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/get.md b/docs/examples/1.8.x/server-kotlin/java/tables/get.md deleted file mode 100644 index 6f3c639450..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/get.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.get( - "", // databaseId - "", // tableId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md deleted file mode 100644 index f9c828398a..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/increment-row-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.incrementRowColumn( - "", // databaseId - "", // tableId - "", // rowId - "", // column - 0, // value (optional) - 0, // max (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md b/docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md deleted file mode 100644 index 05e1960021..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list-columns.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.listColumns( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md b/docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md deleted file mode 100644 index c9bd445fe8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list-indexes.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.listIndexes( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md deleted file mode 100644 index 8cbc356556..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list-rows.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.listRows( - "", // databaseId - "", // tableId - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/list.md b/docs/examples/1.8.x/server-kotlin/java/tables/list.md deleted file mode 100644 index c3e0c559aa..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/list.md +++ /dev/null @@ -1,25 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.list( - "", // databaseId - listOf(), // queries (optional) - "", // search (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md deleted file mode 100644 index 647190e7bc..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-boolean-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateBooleanColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - false, // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md deleted file mode 100644 index 38e0e60da5..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-datetime-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateDatetimeColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md deleted file mode 100644 index 918884e0b3..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-email-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateEmailColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "email@example.com", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md deleted file mode 100644 index b1bbc83520..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-enum-column.md +++ /dev/null @@ -1,29 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateEnumColumn( - "", // databaseId - "", // tableId - "", // key - listOf(), // elements - false, // required - "", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md deleted file mode 100644 index 977c23727c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-float-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateFloatColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // default - 0, // min (optional) - 0, // max (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md deleted file mode 100644 index d2ad81d0eb..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-integer-column.md +++ /dev/null @@ -1,30 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateIntegerColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - 0, // default - 0, // min (optional) - 0, // max (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md deleted file mode 100644 index cd6e67bc2c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-ip-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateIpColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md deleted file mode 100644 index e0dc185e0e..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-relationship-column.md +++ /dev/null @@ -1,27 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateRelationshipColumn( - "", // databaseId - "", // tableId - "", // key - RelationMutate.CASCADE, // onDelete (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-row.md deleted file mode 100644 index 8270c3fa9b..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-row.md +++ /dev/null @@ -1,27 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession(""); // The user session to authenticate with - -Tables tables = new Tables(client); - -tables.updateRow( - "", // databaseId - "", // tableId - "", // rowId - mapOf( "a" to "b" ), // data (optional) - listOf("read("any")"), // permissions (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md deleted file mode 100644 index a51878508f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-rows.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateRows( - "", // databaseId - "", // tableId - mapOf( "a" to "b" ), // data (optional) - listOf(), // queries (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md deleted file mode 100644 index 31e279d068..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-string-column.md +++ /dev/null @@ -1,29 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateStringColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "", // default - 1, // size (optional) - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md b/docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md deleted file mode 100644 index 201e578ac6..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update-url-column.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.updateUrlColumn( - "", // databaseId - "", // tableId - "", // key - false, // required - "https://example.com", // default - "", // newKey (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/update.md b/docs/examples/1.8.x/server-kotlin/java/tables/update.md deleted file mode 100644 index cf560cb461..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/update.md +++ /dev/null @@ -1,28 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.update( - "", // databaseId - "", // tableId - "", // name - listOf("read("any")"), // permissions (optional) - false, // rowSecurity (optional) - false, // enabled (optional) - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md b/docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md deleted file mode 100644 index 11127c5bfa..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-row.md +++ /dev/null @@ -1,26 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT(""); // Your secret JSON Web Token - -Tables tables = new Tables(client); - -tables.upsertRow( - "", // databaseId - "", // tableId - "", // rowId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md deleted file mode 100644 index 14b382263b..0000000000 --- a/docs/examples/1.8.x/server-kotlin/java/tables/upsert-rows.md +++ /dev/null @@ -1,24 +0,0 @@ -import io.appwrite.Client; -import io.appwrite.coroutines.CoroutineCallback; -import io.appwrite.services.Tables; - -Client client = new Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey(""); // Your secret API key - -Tables tables = new Tables(client); - -tables.upsertRows( - "", // databaseId - "", // tableId - new CoroutineCallback<>((result, error) -> { - if (error != null) { - error.printStackTrace(); - return; - } - - System.out.println(result); - }) -); - diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md deleted file mode 100644 index 68b8dc51bd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createBooleanColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = false, // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md deleted file mode 100644 index 8740a71d3c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createDatetimeColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md deleted file mode 100644 index 34a6cb669f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createEmailColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "email@example.com", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md deleted file mode 100644 index d3d2fc9286..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createEnumColumn( - databaseId = "", - tableId = "", - key = "", - elements = listOf(), - required = false, - default = "", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md deleted file mode 100644 index 8540430cea..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createFloatColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - min = 0, // optional - max = 0, // optional - default = 0, // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md deleted file mode 100644 index 053c88a93a..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables -import io.appwrite.enums.IndexType - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createIndex( - databaseId = "", - tableId = "", - key = "", - type = IndexType.KEY, - columns = listOf(), - orders = listOf(), // optional - lengths = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md deleted file mode 100644 index 1222746259..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createIntegerColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - min = 0, // optional - max = 0, // optional - default = 0, // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md deleted file mode 100644 index 277c756d24..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createIpColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md deleted file mode 100644 index aa07fac6a8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-relationship-column.md +++ /dev/null @@ -1,22 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables -import io.appwrite.enums.RelationshipType - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createRelationshipColumn( - databaseId = "", - tableId = "", - relatedTableId = "", - type = RelationshipType.ONETOONE, - twoWay = false, // optional - key = "", // optional - twoWayKey = "", // optional - onDelete = "cascade" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md deleted file mode 100644 index 5df0890f99..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val response = tables.createRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), - permissions = listOf("read("any")") // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md deleted file mode 100644 index f549d6fb8c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createRows( - databaseId = "", - tableId = "", - rows = listOf() -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md deleted file mode 100644 index d82026c31d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createStringColumn( - databaseId = "", - tableId = "", - key = "", - size = 1, - required = false, - default = "", // optional - array = false, // optional - encrypt = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md deleted file mode 100644 index 42f50e9ec9..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.createUrlColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "https://example.com", // optional - array = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md deleted file mode 100644 index 3dc1d1a37d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/create.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.create( - databaseId = "", - tableId = "", - name = "", - permissions = listOf("read("any")"), // optional - rowSecurity = false, // optional - enabled = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md deleted file mode 100644 index f78f7bbed7..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.decrementRowColumn( - databaseId = "", - tableId = "", - rowId = "", - column = "", - value = 0, // optional - min = 0 // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md deleted file mode 100644 index d41f2ceabf..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.deleteColumn( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md deleted file mode 100644 index 7af6648f2f..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-index.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.deleteIndex( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md deleted file mode 100644 index d182ccff95..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.deleteRow( - databaseId = "", - tableId = "", - rowId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md deleted file mode 100644 index 54ff6b690c..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.deleteRows( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md deleted file mode 100644 index 5cbd03226a..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/delete.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.delete( - databaseId = "", - tableId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md deleted file mode 100644 index 6f4d65b4dc..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-column.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.getColumn( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md deleted file mode 100644 index 660502f228..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-index.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.getIndex( - databaseId = "", - tableId = "", - key = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md deleted file mode 100644 index cbaaa6c3e9..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.getRow( - databaseId = "", - tableId = "", - rowId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md deleted file mode 100644 index ff6d354c15..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/get.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.get( - databaseId = "", - tableId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md deleted file mode 100644 index 7917b7f939..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.incrementRowColumn( - databaseId = "", - tableId = "", - rowId = "", - column = "", - value = 0, // optional - max = 0 // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md deleted file mode 100644 index 4c1765193d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-columns.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.listColumns( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md deleted file mode 100644 index bcd1fe75ab..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-indexes.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.listIndexes( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md deleted file mode 100644 index 38b776acb8..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.listRows( - databaseId = "", - tableId = "", - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md deleted file mode 100644 index 37b03445da..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/list.md +++ /dev/null @@ -1,16 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.list( - databaseId = "", - queries = listOf(), // optional - search = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md deleted file mode 100644 index 10a0422d2d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateBooleanColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = false, - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md deleted file mode 100644 index 69ccf0354e..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateDatetimeColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md deleted file mode 100644 index 593a89b4ce..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateEmailColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "email@example.com", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md deleted file mode 100644 index b672e3e155..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateEnumColumn( - databaseId = "", - tableId = "", - key = "", - elements = listOf(), - required = false, - default = "", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md deleted file mode 100644 index 005c4e64a5..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateFloatColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = 0, - min = 0, // optional - max = 0, // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md deleted file mode 100644 index 39da19d562..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateIntegerColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = 0, - min = 0, // optional - max = 0, // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md deleted file mode 100644 index 40e54bcdfd..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateIpColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md deleted file mode 100644 index d4c36e8802..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-relationship-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateRelationshipColumn( - databaseId = "", - tableId = "", - key = "", - onDelete = "cascade", // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md deleted file mode 100644 index 6d3d9a47f7..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -val tables = Tables(client) - -val response = tables.updateRow( - databaseId = "", - tableId = "", - rowId = "", - data = mapOf( "a" to "b" ), // optional - permissions = listOf("read("any")") // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md deleted file mode 100644 index aac87c19b0..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateRows( - databaseId = "", - tableId = "", - data = mapOf( "a" to "b" ), // optional - queries = listOf() // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md deleted file mode 100644 index bb5b1f4bcf..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateStringColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "", - size = 1, // optional - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md deleted file mode 100644 index 07f43e3907..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.updateUrlColumn( - databaseId = "", - tableId = "", - key = "", - required = false, - default = "https://example.com", - newKey = "" // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md deleted file mode 100644 index 381532316d..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/update.md +++ /dev/null @@ -1,19 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.update( - databaseId = "", - tableId = "", - name = "", - permissions = listOf("read("any")"), // optional - rowSecurity = false, // optional - enabled = false // optional -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md deleted file mode 100644 index 6e02b3abe9..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -val tables = Tables(client) - -val response = tables.upsertRow( - databaseId = "", - tableId = "", - rowId = "" -) diff --git a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md b/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md deleted file mode 100644 index d639e3d30b..0000000000 --- a/docs/examples/1.8.x/server-kotlin/kotlin/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import io.appwrite.Client -import io.appwrite.coroutines.CoroutineCallback -import io.appwrite.services.Tables - -val client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -val tables = Tables(client) - -val response = tables.upsertRows( - databaseId = "", - tableId = "" -) diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md deleted file mode 100644 index 64893d77a8..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md deleted file mode 100644 index 0d63244727..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md deleted file mode 100644 index 2257fdd7d6..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md deleted file mode 100644 index dbc75feea5..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md deleted file mode 100644 index 690b5849eb..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md deleted file mode 100644 index aef047ba5f..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-index.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createIndex( - '', // databaseId - '', // tableId - '', // key - sdk.IndexType.Key, // type - [], // columns - [], // orders (optional) - [] // lengths (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md deleted file mode 100644 index 05e66b548c..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // min (optional) - null, // max (optional) - null, // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md deleted file mode 100644 index 69b5c635d2..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md deleted file mode 100644 index b6e7fa517f..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createRelationshipColumn( - '', // databaseId - '', // tableId - '', // relatedTableId - sdk.RelationshipType.OneToOne, // type - false, // twoWay (optional) - '', // key (optional) - '', // twoWayKey (optional) - sdk.RelationMutate.Cascade // onDelete (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md deleted file mode 100644 index 84da608d41..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-row.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new sdk.Tables(client); - -const result = await tables.createRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md deleted file mode 100644 index 6a6918b8df..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createRows( - '', // databaseId - '', // tableId - [] // rows -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md deleted file mode 100644 index 8e14cb45c9..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createStringColumn( - '', // databaseId - '', // tableId - '', // key - 1, // size - false, // required - '', // default (optional) - false, // array (optional) - false // encrypt (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md deleted file mode 100644 index 73cdfa3710..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.createUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default (optional) - false // array (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/create.md b/docs/examples/1.8.x/server-nodejs/examples/tables/create.md deleted file mode 100644 index 54d6bc61bd..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/create.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.create( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md deleted file mode 100644 index 2e7df6aa92..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.decrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // min (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md deleted file mode 100644 index a892c61baa..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-column.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.deleteColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md deleted file mode 100644 index f6bc7919db..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-index.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.deleteIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md deleted file mode 100644 index 5bc60cd6cb..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-row.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.deleteRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md deleted file mode 100644 index 11b16b71ae..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.deleteRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/delete.md b/docs/examples/1.8.x/server-nodejs/examples/tables/delete.md deleted file mode 100644 index fed3eee5a4..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/delete.md +++ /dev/null @@ -1,13 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.delete( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md deleted file mode 100644 index daa20e17e2..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get-column.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.getColumn( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md deleted file mode 100644 index 56ba871d67..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get-index.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.getIndex( - '', // databaseId - '', // tableId - '' // key -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md deleted file mode 100644 index df952d9595..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get-row.md +++ /dev/null @@ -1,15 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.getRow( - '', // databaseId - '', // tableId - '', // rowId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/get.md b/docs/examples/1.8.x/server-nodejs/examples/tables/get.md deleted file mode 100644 index b078574b5c..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/get.md +++ /dev/null @@ -1,13 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.get( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md deleted file mode 100644 index bb5856c74a..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/increment-row-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.incrementRowColumn( - '', // databaseId - '', // tableId - '', // rowId - '', // column - null, // value (optional) - null // max (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md deleted file mode 100644 index f9af43bea5..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list-columns.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.listColumns( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md deleted file mode 100644 index 7eaf4b8710..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list-indexes.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.listIndexes( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md deleted file mode 100644 index aa5b341649..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.listRows( - '', // databaseId - '', // tableId - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/list.md b/docs/examples/1.8.x/server-nodejs/examples/tables/list.md deleted file mode 100644 index 872a98df08..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/list.md +++ /dev/null @@ -1,14 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.list( - '', // databaseId - [], // queries (optional) - '' // search (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md deleted file mode 100644 index 84ff5d2bef..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateBooleanColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - false, // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md deleted file mode 100644 index c02559a171..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateDatetimeColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md deleted file mode 100644 index 9560b60e29..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-email-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateEmailColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'email@example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md deleted file mode 100644 index 861fce6add..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-enum-column.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateEnumColumn( - '', // databaseId - '', // tableId - '', // key - [], // elements - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md deleted file mode 100644 index 01845ca3cc..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-float-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateFloatColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md deleted file mode 100644 index 0b7432247f..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-integer-column.md +++ /dev/null @@ -1,19 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateIntegerColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - null, // default - null, // min (optional) - null, // max (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md deleted file mode 100644 index 6ba5eccf3e..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-ip-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateIpColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md deleted file mode 100644 index 3409b8caad..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,16 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateRelationshipColumn( - '', // databaseId - '', // tableId - '', // key - sdk.RelationMutate.Cascade, // onDelete (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md deleted file mode 100644 index ff8e98eb38..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-row.md +++ /dev/null @@ -1,16 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setSession(''); // The user session to authenticate with - -const tables = new sdk.Tables(client); - -const result = await tables.updateRow( - '', // databaseId - '', // tableId - '', // rowId - {}, // data (optional) - ["read("any")"] // permissions (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md deleted file mode 100644 index 72cef07202..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateRows( - '', // databaseId - '', // tableId - {}, // data (optional) - [] // queries (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md deleted file mode 100644 index f9445a50c1..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-string-column.md +++ /dev/null @@ -1,18 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateStringColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - '', // default - 1, // size (optional) - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md deleted file mode 100644 index c6ffdf3044..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update-url-column.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.updateUrlColumn( - '', // databaseId - '', // tableId - '', // key - false, // required - 'https://example.com', // default - '' // newKey (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/update.md b/docs/examples/1.8.x/server-nodejs/examples/tables/update.md deleted file mode 100644 index 4fd981ffbf..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/update.md +++ /dev/null @@ -1,17 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setProject('') // Your project ID - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.update( - '', // databaseId - '', // tableId - '', // name - ["read("any")"], // permissions (optional) - false, // rowSecurity (optional) - false // enabled (optional) -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md deleted file mode 100644 index 2b08d56785..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-row.md +++ /dev/null @@ -1,15 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setSession('') // The user session to authenticate with - .setKey('') // Your secret API key - .setJWT(''); // Your secret JSON Web Token - -const tables = new sdk.Tables(client); - -const result = await tables.upsertRow( - '', // databaseId - '', // tableId - '' // rowId -); diff --git a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md deleted file mode 100644 index 75d681dbf0..0000000000 --- a/docs/examples/1.8.x/server-nodejs/examples/tables/upsert-rows.md +++ /dev/null @@ -1,13 +0,0 @@ -const sdk = require('node-appwrite'); - -const client = new sdk.Client() - .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - .setAdmin('') // - .setKey(''); // Your secret API key - -const tables = new sdk.Tables(client); - -const result = await tables.upsertRows( - '', // databaseId - '' // tableId -); diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md deleted file mode 100644 index 28339753ac..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createBooleanColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: false, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md deleted file mode 100644 index d7f18f2ede..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-email-column.md deleted file mode 100644 index 15ec2cf2e5..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-email-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createEmailColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'email@example.com', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md deleted file mode 100644 index aa2b6138f7..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-enum-column.md +++ /dev/null @@ -1,21 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - required: false, - default: '', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-float-column.md deleted file mode 100644 index 1f620dc887..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-float-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createFloatColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - min: null, // optional - max: null, // optional - default: null, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-index.md b/docs/examples/1.8.x/server-php/examples/tables/create-index.md deleted file mode 100644 index 9844e041d4..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-index.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createIndex( - databaseId: '', - tableId: '', - key: '', - type: IndexType::KEY(), - columns: [], - orders: [], // optional - lengths: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md deleted file mode 100644 index 185f12c5cb..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-integer-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createIntegerColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - min: null, // optional - max: null, // optional - default: null, // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md deleted file mode 100644 index 1f74e4dd72..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-ip-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createIpColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md deleted file mode 100644 index c86b4c558a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,23 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createRelationshipColumn( - databaseId: '', - tableId: '', - relatedTableId: '', - type: RelationshipType::ONETOONE(), - twoWay: false, // optional - key: '', // optional - twoWayKey: '', // optional - onDelete: RelationMutate::CASCADE() // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-row.md b/docs/examples/1.8.x/server-php/examples/tables/create-row.md deleted file mode 100644 index 6b64a7e058..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-row.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setSession('') // The user session to authenticate with - ->setKey('') // Your secret API key - ->setJWT(''); // Your secret JSON Web Token - -$tables = new Tables($client); - -$result = $tables->createRow( - databaseId: '', - tableId: '', - rowId: '', - data: [], - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-rows.md b/docs/examples/1.8.x/server-php/examples/tables/create-rows.md deleted file mode 100644 index a1bf72ad13..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setAdmin('') // - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createRows( - databaseId: '', - tableId: '', - rows: [] -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-string-column.md deleted file mode 100644 index 085aff25c8..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-string-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createStringColumn( - databaseId: '', - tableId: '', - key: '', - size: 1, - required: false, - default: '', // optional - array: false, // optional - encrypt: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-php/examples/tables/create-url-column.md deleted file mode 100644 index d0bdb55dd4..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create-url-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->createUrlColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'https://example.com', // optional - array: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/create.md b/docs/examples/1.8.x/server-php/examples/tables/create.md deleted file mode 100644 index 773d7a24eb..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/create.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->create( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md deleted file mode 100644 index b0c44b6d0a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->decrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: null, // optional - min: null // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-column.md b/docs/examples/1.8.x/server-php/examples/tables/delete-column.md deleted file mode 100644 index 9bd6738cb7..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-column.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->deleteColumn( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-index.md b/docs/examples/1.8.x/server-php/examples/tables/delete-index.md deleted file mode 100644 index bbd748433a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-index.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->deleteIndex( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-row.md b/docs/examples/1.8.x/server-php/examples/tables/delete-row.md deleted file mode 100644 index 0c4ab6ef40..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-row.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->deleteRow( - databaseId: '', - tableId: '', - rowId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-php/examples/tables/delete-rows.md deleted file mode 100644 index b0c984cc17..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->deleteRows( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/delete.md b/docs/examples/1.8.x/server-php/examples/tables/delete.md deleted file mode 100644 index f145eedc91..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/delete.md +++ /dev/null @@ -1,16 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->delete( - databaseId: '', - tableId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get-column.md b/docs/examples/1.8.x/server-php/examples/tables/get-column.md deleted file mode 100644 index b8b676564e..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get-column.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->getColumn( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get-index.md b/docs/examples/1.8.x/server-php/examples/tables/get-index.md deleted file mode 100644 index 5d1139d596..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get-index.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->getIndex( - databaseId: '', - tableId: '', - key: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get-row.md b/docs/examples/1.8.x/server-php/examples/tables/get-row.md deleted file mode 100644 index ccde387b89..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get-row.md +++ /dev/null @@ -1,18 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->getRow( - databaseId: '', - tableId: '', - rowId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/get.md b/docs/examples/1.8.x/server-php/examples/tables/get.md deleted file mode 100644 index d07ef7338a..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/get.md +++ /dev/null @@ -1,16 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->get( - databaseId: '', - tableId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md deleted file mode 100644 index aa5a3c0d53..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/increment-row-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->incrementRowColumn( - databaseId: '', - tableId: '', - rowId: '', - column: '', - value: null, // optional - max: null // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list-columns.md b/docs/examples/1.8.x/server-php/examples/tables/list-columns.md deleted file mode 100644 index 0338567240..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list-columns.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->listColumns( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-php/examples/tables/list-indexes.md deleted file mode 100644 index df1f8c6aca..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list-indexes.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->listIndexes( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list-rows.md b/docs/examples/1.8.x/server-php/examples/tables/list-rows.md deleted file mode 100644 index 2041d72b05..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->listRows( - databaseId: '', - tableId: '', - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/list.md b/docs/examples/1.8.x/server-php/examples/tables/list.md deleted file mode 100644 index 37df0a4baa..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/list.md +++ /dev/null @@ -1,17 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->list( - databaseId: '', - queries: [], // optional - search: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md deleted file mode 100644 index 8ad80506d8..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateBooleanColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: false, - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md deleted file mode 100644 index 5185357f17..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateDatetimeColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-email-column.md deleted file mode 100644 index 7acbb811eb..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-email-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateEmailColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'email@example.com', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md deleted file mode 100644 index 478905af67..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-enum-column.md +++ /dev/null @@ -1,21 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateEnumColumn( - databaseId: '', - tableId: '', - key: '', - elements: [], - required: false, - default: '', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-float-column.md deleted file mode 100644 index 1d9c5fd997..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-float-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateFloatColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: null, - min: null, // optional - max: null, // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md deleted file mode 100644 index f6998db0a2..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-integer-column.md +++ /dev/null @@ -1,22 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateIntegerColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: null, - min: null, // optional - max: null, // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md deleted file mode 100644 index e7906fbd0f..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-ip-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateIpColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md deleted file mode 100644 index d6505c77f1..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,19 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateRelationshipColumn( - databaseId: '', - tableId: '', - key: '', - onDelete: RelationMutate::CASCADE(), // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-row.md b/docs/examples/1.8.x/server-php/examples/tables/update-row.md deleted file mode 100644 index 921c43d935..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-row.md +++ /dev/null @@ -1,19 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setSession(''); // The user session to authenticate with - -$tables = new Tables($client); - -$result = $tables->updateRow( - databaseId: '', - tableId: '', - rowId: '', - data: [], // optional - permissions: ["read("any")"] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-rows.md b/docs/examples/1.8.x/server-php/examples/tables/update-rows.md deleted file mode 100644 index f61fa2b17d..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-rows.md +++ /dev/null @@ -1,18 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateRows( - databaseId: '', - tableId: '', - data: [], // optional - queries: [] // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-string-column.md deleted file mode 100644 index 8856ec19c1..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateStringColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: '', - size: 1, // optional - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-php/examples/tables/update-url-column.md deleted file mode 100644 index faa46d1806..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update-url-column.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->updateUrlColumn( - databaseId: '', - tableId: '', - key: '', - required: false, - default: 'https://example.com', - newKey: '' // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/update.md b/docs/examples/1.8.x/server-php/examples/tables/update.md deleted file mode 100644 index 39f076b8f8..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/update.md +++ /dev/null @@ -1,20 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setProject('') // Your project ID - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->update( - databaseId: '', - tableId: '', - name: '', - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-php/examples/tables/upsert-row.md deleted file mode 100644 index 2bddd9b5b3..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/upsert-row.md +++ /dev/null @@ -1,18 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setSession('') // The user session to authenticate with - ->setKey('') // Your secret API key - ->setJWT(''); // Your secret JSON Web Token - -$tables = new Tables($client); - -$result = $tables->upsertRow( - databaseId: '', - tableId: '', - rowId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md deleted file mode 100644 index 5ed5f028a9..0000000000 --- a/docs/examples/1.8.x/server-php/examples/tables/upsert-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint - ->setAdmin('') // - ->setKey(''); // Your secret API key - -$tables = new Tables($client); - -$result = $tables->upsertRows( - databaseId: '', - tableId: '' -); \ No newline at end of file diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md deleted file mode 100644 index cfbaa3b0ee..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_boolean_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = False, # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md deleted file mode 100644 index a9f76b5e5f..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_datetime_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-email-column.md deleted file mode 100644 index 73ac0faad6..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_email_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'email@example.com', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md deleted file mode 100644 index 2013c39fa0..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_enum_column( - database_id = '', - table_id = '', - key = '', - elements = [], - required = False, - default = '', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-float-column.md deleted file mode 100644 index a56a196093..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_float_column( - database_id = '', - table_id = '', - key = '', - required = False, - min = None, # optional - max = None, # optional - default = None, # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-index.md b/docs/examples/1.8.x/server-python/examples/tables/create-index.md deleted file mode 100644 index 69086af0b0..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-index.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables -from appwrite.enums import IndexType - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_index( - database_id = '', - table_id = '', - key = '', - type = IndexType.KEY, - columns = [], - orders = [], # optional - lengths = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md deleted file mode 100644 index d52b14bc5c..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_integer_column( - database_id = '', - table_id = '', - key = '', - required = False, - min = None, # optional - max = None, # optional - default = None, # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md deleted file mode 100644 index b5c7ef56db..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_ip_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md deleted file mode 100644 index 187271f887..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,21 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables -from appwrite.enums import RelationshipType - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_relationship_column( - database_id = '', - table_id = '', - related_table_id = '', - type = RelationshipType.ONETOONE, - two_way = False, # optional - key = '', # optional - two_way_key = '', # optional - on_delete = RelationMutate.CASCADE # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-row.md b/docs/examples/1.8.x/server-python/examples/tables/create-row.md deleted file mode 100644 index 8850a974b8..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_session('') # The user session to authenticate with -client.set_key('') # Your secret API key -client.set_jwt('') # Your secret JSON Web Token - -tables = Tables(client) - -result = tables.create_row( - database_id = '', - table_id = '', - row_id = '', - data = {}, - permissions = ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-rows.md b/docs/examples/1.8.x/server-python/examples/tables/create-rows.md deleted file mode 100644 index 3fae165081..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_admin('') # -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_rows( - database_id = '', - table_id = '', - rows = [] -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-string-column.md deleted file mode 100644 index 1308fea2ad..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_string_column( - database_id = '', - table_id = '', - key = '', - size = 1, - required = False, - default = '', # optional - array = False, # optional - encrypt = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-python/examples/tables/create-url-column.md deleted file mode 100644 index f15c3e0574..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create_url_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'https://example.com', # optional - array = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/create.md b/docs/examples/1.8.x/server-python/examples/tables/create.md deleted file mode 100644 index 3a02843c4d..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/create.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.create( - database_id = '', - table_id = '', - name = '', - permissions = ["read("any")"], # optional - row_security = False, # optional - enabled = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md deleted file mode 100644 index bf027d6e76..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.decrement_row_column( - database_id = '', - table_id = '', - row_id = '', - column = '', - value = None, # optional - min = None # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-column.md b/docs/examples/1.8.x/server-python/examples/tables/delete-column.md deleted file mode 100644 index cf2dd6d5e5..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-column.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete_column( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-index.md b/docs/examples/1.8.x/server-python/examples/tables/delete-index.md deleted file mode 100644 index 5f78d1ce1d..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-index.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete_index( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-row.md b/docs/examples/1.8.x/server-python/examples/tables/delete-row.md deleted file mode 100644 index 40a8b09fcf..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_session('') # The user session to authenticate with - -tables = Tables(client) - -result = tables.delete_row( - database_id = '', - table_id = '', - row_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-python/examples/tables/delete-rows.md deleted file mode 100644 index 236aea1c9b..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete_rows( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/delete.md b/docs/examples/1.8.x/server-python/examples/tables/delete.md deleted file mode 100644 index de48bfc2b5..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/delete.md +++ /dev/null @@ -1,14 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.delete( - database_id = '', - table_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get-column.md b/docs/examples/1.8.x/server-python/examples/tables/get-column.md deleted file mode 100644 index 4bd4617142..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get-column.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.get_column( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get-index.md b/docs/examples/1.8.x/server-python/examples/tables/get-index.md deleted file mode 100644 index cf88017fbe..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get-index.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.get_index( - database_id = '', - table_id = '', - key = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get-row.md b/docs/examples/1.8.x/server-python/examples/tables/get-row.md deleted file mode 100644 index 25fefb23fd..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_session('') # The user session to authenticate with - -tables = Tables(client) - -result = tables.get_row( - database_id = '', - table_id = '', - row_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/get.md b/docs/examples/1.8.x/server-python/examples/tables/get.md deleted file mode 100644 index 789410cfb7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/get.md +++ /dev/null @@ -1,14 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.get( - database_id = '', - table_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md deleted file mode 100644 index cfb923029e..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/increment-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.increment_row_column( - database_id = '', - table_id = '', - row_id = '', - column = '', - value = None, # optional - max = None # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list-columns.md b/docs/examples/1.8.x/server-python/examples/tables/list-columns.md deleted file mode 100644 index d9c5b16468..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list-columns.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.list_columns( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-python/examples/tables/list-indexes.md deleted file mode 100644 index 0b0bb585e7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list-indexes.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.list_indexes( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list-rows.md b/docs/examples/1.8.x/server-python/examples/tables/list-rows.md deleted file mode 100644 index 2ece6f6cf7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_session('') # The user session to authenticate with - -tables = Tables(client) - -result = tables.list_rows( - database_id = '', - table_id = '', - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/list.md b/docs/examples/1.8.x/server-python/examples/tables/list.md deleted file mode 100644 index 55a99e996d..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/list.md +++ /dev/null @@ -1,15 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.list( - database_id = '', - queries = [], # optional - search = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md deleted file mode 100644 index 1bc7a4afac..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_boolean_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = False, - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md deleted file mode 100644 index 157ff44a7b..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_datetime_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-email-column.md deleted file mode 100644 index 8b9e4cad36..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_email_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'email@example.com', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md deleted file mode 100644 index b46971beac..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_enum_column( - database_id = '', - table_id = '', - key = '', - elements = [], - required = False, - default = '', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-float-column.md deleted file mode 100644 index 243a26f0aa..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_float_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = None, - min = None, # optional - max = None, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md deleted file mode 100644 index 99b55c17a7..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_integer_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = None, - min = None, # optional - max = None, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md deleted file mode 100644 index 2fb470ae6e..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_ip_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md deleted file mode 100644 index 35a307c7e2..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,17 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_relationship_column( - database_id = '', - table_id = '', - key = '', - on_delete = RelationMutate.CASCADE, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-row.md b/docs/examples/1.8.x/server-python/examples/tables/update-row.md deleted file mode 100644 index 4a71fc97f2..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_session('') # The user session to authenticate with - -tables = Tables(client) - -result = tables.update_row( - database_id = '', - table_id = '', - row_id = '', - data = {}, # optional - permissions = ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-rows.md b/docs/examples/1.8.x/server-python/examples/tables/update-rows.md deleted file mode 100644 index a834346678..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_rows( - database_id = '', - table_id = '', - data = {}, # optional - queries = [] # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-string-column.md deleted file mode 100644 index 252c26433e..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_string_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = '', - size = 1, # optional - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-python/examples/tables/update-url-column.md deleted file mode 100644 index 235e2f3bc4..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update_url_column( - database_id = '', - table_id = '', - key = '', - required = False, - default = 'https://example.com', - new_key = '' # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/update.md b/docs/examples/1.8.x/server-python/examples/tables/update.md deleted file mode 100644 index c567bd5500..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/update.md +++ /dev/null @@ -1,18 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_project('') # Your project ID -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.update( - database_id = '', - table_id = '', - name = '', - permissions = ["read("any")"], # optional - row_security = False, # optional - enabled = False # optional -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-python/examples/tables/upsert-row.md deleted file mode 100644 index e418708bc3..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_session('') # The user session to authenticate with -client.set_key('') # Your secret API key -client.set_jwt('') # Your secret JSON Web Token - -tables = Tables(client) - -result = tables.upsert_row( - database_id = '', - table_id = '', - row_id = '' -) diff --git a/docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md deleted file mode 100644 index 85c2e94d69..0000000000 --- a/docs/examples/1.8.x/server-python/examples/tables/upsert-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -from appwrite.client import Client -from appwrite.services.tables import Tables - -client = Client() -client.set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint -client.set_admin('') # -client.set_key('') # Your secret API key - -tables = Tables(client) - -result = tables.upsert_rows( - database_id = '', - table_id = '' -) diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md deleted file mode 100644 index 4152d8538f..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/boolean HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": false, - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md deleted file mode 100644 index d5318d96db..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/datetime HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": , - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md deleted file mode 100644 index b213fa6ceb..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-email-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/email HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": "email@example.com", - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md deleted file mode 100644 index 125f617f1f..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-enum-column.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/enum HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "elements": [], - "required": false, - "default": "", - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md deleted file mode 100644 index 2e010318ff..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-float-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/float HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "min": 0, - "max": 0, - "default": 0, - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-index.md b/docs/examples/1.8.x/server-rest/examples/tables/create-index.md deleted file mode 100644 index eaddec973a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-index.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/indexes HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "type": "key", - "columns": [], - "orders": [], - "lengths": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md deleted file mode 100644 index f284dc03ef..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-integer-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/integer HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "min": 0, - "max": 0, - "default": 0, - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md deleted file mode 100644 index 8def17fc27..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-ip-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/ip HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": , - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md deleted file mode 100644 index d8feb21916..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/relationship HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "relatedTableId": "", - "type": "oneToOne", - "twoWay": false, - "key": , - "twoWayKey": , - "onDelete": "cascade" -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-row.md b/docs/examples/1.8.x/server-rest/examples/tables/create-row.md deleted file mode 100644 index 075be16fa4..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-row.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - -{ - "rowId": "", - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/create-rows.md deleted file mode 100644 index ad3d6983cc..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-rows.md +++ /dev/null @@ -1,12 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - -{ - "rows": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md deleted file mode 100644 index e654a05e3a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-string-column.md +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/string HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "size": 1, - "required": false, - "default": "", - "array": false, - "encrypt": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md deleted file mode 100644 index d98d77c68d..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create-url-column.md +++ /dev/null @@ -1,13 +0,0 @@ -POST /v1/databases/{databaseId}/tables/{tableId}/columns/url HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "key": , - "required": false, - "default": "https://example.com", - "array": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/create.md b/docs/examples/1.8.x/server-rest/examples/tables/create.md deleted file mode 100644 index 14e1f6ec05..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/create.md +++ /dev/null @@ -1,14 +0,0 @@ -POST /v1/databases/{databaseId}/tables HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "tableId": "", - "name": "", - "permissions": ["read(\"any\")"], - "rowSecurity": false, - "enabled": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md deleted file mode 100644 index a76efb3a69..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId}/{column}/decrement HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "value": 0, - "min": 0 -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-column.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-column.md deleted file mode 100644 index 2bda57366c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-column.md +++ /dev/null @@ -1,7 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/columns/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-index.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-index.md deleted file mode 100644 index ffffc38c64..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-index.md +++ /dev/null @@ -1,7 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/indexes/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-row.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-row.md deleted file mode 100644 index f10adef821..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-row.md +++ /dev/null @@ -1,9 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md deleted file mode 100644 index fcaf8fb472..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete-rows.md +++ /dev/null @@ -1,10 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "queries": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/delete.md b/docs/examples/1.8.x/server-rest/examples/tables/delete.md deleted file mode 100644 index 379bead1ad..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/delete.md +++ /dev/null @@ -1,7 +0,0 @@ -DELETE /v1/databases/{databaseId}/tables/{tableId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get-column.md b/docs/examples/1.8.x/server-rest/examples/tables/get-column.md deleted file mode 100644 index 31d1856539..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get-column.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/columns/{key} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get-index.md b/docs/examples/1.8.x/server-rest/examples/tables/get-index.md deleted file mode 100644 index 076058d7f3..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get-index.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/indexes/{key} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get-row.md b/docs/examples/1.8.x/server-rest/examples/tables/get-row.md deleted file mode 100644 index 0b827f18a8..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get-row.md +++ /dev/null @@ -1,7 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/get.md b/docs/examples/1.8.x/server-rest/examples/tables/get.md deleted file mode 100644 index 74877ec0c0..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/get.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId} HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md deleted file mode 100644 index 480645c39c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/increment-row-column.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId}/{column}/increment HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "value": 0, - "max": 0 -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list-columns.md b/docs/examples/1.8.x/server-rest/examples/tables/list-columns.md deleted file mode 100644 index 152b36ca26..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list-columns.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/columns HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md deleted file mode 100644 index ee10a85d5e..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list-indexes.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/indexes HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/list-rows.md deleted file mode 100644 index 46e69ab609..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list-rows.md +++ /dev/null @@ -1,7 +0,0 @@ -GET /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/list.md b/docs/examples/1.8.x/server-rest/examples/tables/list.md deleted file mode 100644 index e856ef7241..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/list.md +++ /dev/null @@ -1,5 +0,0 @@ -GET /v1/databases/{databaseId}/tables HTTP/1.1 -Host: cloud.appwrite.io -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md deleted file mode 100644 index e4a1c4602a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/boolean/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": false, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md deleted file mode 100644 index 6b531dc604..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/datetime/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": , - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md deleted file mode 100644 index 531aa7a31a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-email-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/email/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": "email@example.com", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md deleted file mode 100644 index b02936fc5a..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-enum-column.md +++ /dev/null @@ -1,13 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/enum/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "elements": [], - "required": false, - "default": "", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md deleted file mode 100644 index 313acb6c20..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-float-column.md +++ /dev/null @@ -1,14 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/float/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "min": 0, - "max": 0, - "default": 0, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md deleted file mode 100644 index a2552e93ff..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-integer-column.md +++ /dev/null @@ -1,14 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/integer/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "min": 0, - "max": 0, - "default": 0, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md deleted file mode 100644 index b3cef978e2..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-ip-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/ip/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": , - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md deleted file mode 100644 index 19fed27fdf..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/{key}/relationship HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "onDelete": "cascade", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-row.md b/docs/examples/1.8.x/server-rest/examples/tables/update-row.md deleted file mode 100644 index 20c92d746b..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-row.md +++ /dev/null @@ -1,13 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - -{ - "data": {}, - "permissions": ["read(\"any\")"] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/update-rows.md deleted file mode 100644 index 249653070c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-rows.md +++ /dev/null @@ -1,11 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "data": {}, - "queries": [] -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md deleted file mode 100644 index 7a25ee52e8..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-string-column.md +++ /dev/null @@ -1,13 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/string/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": "", - "size": 1, - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md deleted file mode 100644 index 2097e91d85..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update-url-column.md +++ /dev/null @@ -1,12 +0,0 @@ -PATCH /v1/databases/{databaseId}/tables/{tableId}/columns/url/{key} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "required": false, - "default": "https://example.com", - "newKey": -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/update.md b/docs/examples/1.8.x/server-rest/examples/tables/update.md deleted file mode 100644 index 786a36cf3c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/update.md +++ /dev/null @@ -1,13 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - -{ - "name": "", - "permissions": ["read(\"any\")"], - "rowSecurity": false, - "enabled": false -} diff --git a/docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md deleted file mode 100644 index 7edca8018c..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/upsert-row.md +++ /dev/null @@ -1,9 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId}/rows/{rowId} HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Session: -X-Appwrite-Key: -X-Appwrite-JWT: - diff --git a/docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md deleted file mode 100644 index cfcb914866..0000000000 --- a/docs/examples/1.8.x/server-rest/examples/tables/upsert-rows.md +++ /dev/null @@ -1,7 +0,0 @@ -PUT /v1/databases/{databaseId}/tables/{tableId}/rows HTTP/1.1 -Host: cloud.appwrite.io -Content-Type: application/json -X-Appwrite-Response-Format: 1.7.0 -X-Appwrite-Project: -X-Appwrite-Key: - diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md deleted file mode 100644 index 7df3908513..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_boolean_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: false, # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md deleted file mode 100644 index 2d65509184..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_datetime_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md deleted file mode 100644 index 01f7ad43b5..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_email_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'email@example.com', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md deleted file mode 100644 index 97fcb589e4..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_enum_column( - database_id: '', - table_id: '', - key: '', - elements: [], - required: false, - default: '', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md deleted file mode 100644 index 9df32a3f5b..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_float_column( - database_id: '', - table_id: '', - key: '', - required: false, - min: null, # optional - max: null, # optional - default: null, # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-index.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-index.md deleted file mode 100644 index 3c8dfdfb6b..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-index.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite -include Appwrite::Enums - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_index( - database_id: '', - table_id: '', - key: '', - type: IndexType::KEY, - columns: [], - orders: [], # optional - lengths: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md deleted file mode 100644 index d0c5c78108..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_integer_column( - database_id: '', - table_id: '', - key: '', - required: false, - min: null, # optional - max: null, # optional - default: null, # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md deleted file mode 100644 index 0c97840a27..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_ip_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md deleted file mode 100644 index 8f7fb841aa..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,22 +0,0 @@ -require 'appwrite' - -include Appwrite -include Appwrite::Enums - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_relationship_column( - database_id: '', - table_id: '', - related_table_id: '', - type: RelationshipType::ONETOONE, - two_way: false, # optional - key: '', # optional - two_way_key: '', # optional - on_delete: RelationMutate::CASCADE # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-row.md deleted file mode 100644 index a625249700..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-row.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_session('') # The user session to authenticate with - .set_key('') # Your secret API key - .set_jwt('') # Your secret JSON Web Token - -tables = Tables.new(client) - -result = tables.create_row( - database_id: '', - table_id: '', - row_id: '', - data: {}, - permissions: ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md deleted file mode 100644 index 2e78b96cbc..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_admin('') # - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_rows( - database_id: '', - table_id: '', - rows: [] -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md deleted file mode 100644 index d47cf49e0c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-string-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_string_column( - database_id: '', - table_id: '', - key: '', - size: 1, - required: false, - default: '', # optional - array: false, # optional - encrypt: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md deleted file mode 100644 index fcfebac7a8..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create_url_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'https://example.com', # optional - array: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/create.md b/docs/examples/1.8.x/server-ruby/examples/tables/create.md deleted file mode 100644 index 5a255fafac..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/create.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.create( - database_id: '', - table_id: '', - name: '', - permissions: ["read("any")"], # optional - row_security: false, # optional - enabled: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md deleted file mode 100644 index e22afcb0ad..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.decrement_row_column( - database_id: '', - table_id: '', - row_id: '', - column: '', - value: null, # optional - min: null # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md deleted file mode 100644 index 245864053f..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-column.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete_column( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md deleted file mode 100644 index 54bd5455aa..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-index.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete_index( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md deleted file mode 100644 index 9841fc2d2f..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-row.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_session('') # The user session to authenticate with - -tables = Tables.new(client) - -result = tables.delete_row( - database_id: '', - table_id: '', - row_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md deleted file mode 100644 index 7be1e4bc70..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete_rows( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/delete.md b/docs/examples/1.8.x/server-ruby/examples/tables/delete.md deleted file mode 100644 index ca607f2b6b..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/delete.md +++ /dev/null @@ -1,15 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.delete( - database_id: '', - table_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/get-column.md deleted file mode 100644 index 1a1469d005..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get-column.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.get_column( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get-index.md b/docs/examples/1.8.x/server-ruby/examples/tables/get-index.md deleted file mode 100644 index 7d762ce8ae..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get-index.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.get_index( - database_id: '', - table_id: '', - key: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/get-row.md deleted file mode 100644 index 4526bb7316..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get-row.md +++ /dev/null @@ -1,17 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_session('') # The user session to authenticate with - -tables = Tables.new(client) - -result = tables.get_row( - database_id: '', - table_id: '', - row_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/get.md b/docs/examples/1.8.x/server-ruby/examples/tables/get.md deleted file mode 100644 index 22ba02aebc..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/get.md +++ /dev/null @@ -1,15 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.get( - database_id: '', - table_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md deleted file mode 100644 index c0a91d4b62..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/increment-row-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.increment_row_column( - database_id: '', - table_id: '', - row_id: '', - column: '', - value: null, # optional - max: null # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md b/docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md deleted file mode 100644 index 7e851564c2..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list-columns.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.list_columns( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md deleted file mode 100644 index 0789291071..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list-indexes.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.list_indexes( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md deleted file mode 100644 index bc9a0a49f6..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_session('') # The user session to authenticate with - -tables = Tables.new(client) - -result = tables.list_rows( - database_id: '', - table_id: '', - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/list.md b/docs/examples/1.8.x/server-ruby/examples/tables/list.md deleted file mode 100644 index 7cf987ebb9..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/list.md +++ /dev/null @@ -1,16 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.list( - database_id: '', - queries: [], # optional - search: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md deleted file mode 100644 index a09b365cd1..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_boolean_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: false, - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md deleted file mode 100644 index 55e0484b4c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_datetime_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md deleted file mode 100644 index 285cd6655a..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-email-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_email_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'email@example.com', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md deleted file mode 100644 index 90773ed9e4..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-enum-column.md +++ /dev/null @@ -1,20 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_enum_column( - database_id: '', - table_id: '', - key: '', - elements: [], - required: false, - default: '', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md deleted file mode 100644 index 0bb992bd3c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-float-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_float_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: null, - min: null, # optional - max: null, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md deleted file mode 100644 index 35f8c471a8..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-integer-column.md +++ /dev/null @@ -1,21 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_integer_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: null, - min: null, # optional - max: null, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md deleted file mode 100644 index 2ad1840a9d..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-ip-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_ip_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md deleted file mode 100644 index de86fd53d7..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,18 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_relationship_column( - database_id: '', - table_id: '', - key: '', - on_delete: RelationMutate::CASCADE, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-row.md deleted file mode 100644 index 500927dcf0..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-row.md +++ /dev/null @@ -1,18 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_session('') # The user session to authenticate with - -tables = Tables.new(client) - -result = tables.update_row( - database_id: '', - table_id: '', - row_id: '', - data: {}, # optional - permissions: ["read("any")"] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md deleted file mode 100644 index 8cee1810be..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-rows.md +++ /dev/null @@ -1,17 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_rows( - database_id: '', - table_id: '', - data: {}, # optional - queries: [] # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md deleted file mode 100644 index 2240f49555..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_string_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: '', - size: 1, # optional - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md deleted file mode 100644 index 0947a78a9e..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update-url-column.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update_url_column( - database_id: '', - table_id: '', - key: '', - required: false, - default: 'https://example.com', - new_key: '' # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/update.md b/docs/examples/1.8.x/server-ruby/examples/tables/update.md deleted file mode 100644 index 003d3d041c..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/update.md +++ /dev/null @@ -1,19 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_project('') # Your project ID - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.update( - database_id: '', - table_id: '', - name: '', - permissions: ["read("any")"], # optional - row_security: false, # optional - enabled: false # optional -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md deleted file mode 100644 index d96172e1ec..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-row.md +++ /dev/null @@ -1,17 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_session('') # The user session to authenticate with - .set_key('') # Your secret API key - .set_jwt('') # Your secret JSON Web Token - -tables = Tables.new(client) - -result = tables.upsert_row( - database_id: '', - table_id: '', - row_id: '' -) diff --git a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md deleted file mode 100644 index 8987b1ee0e..0000000000 --- a/docs/examples/1.8.x/server-ruby/examples/tables/upsert-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -require 'appwrite' - -include Appwrite - -client = Client.new - .set_endpoint('https://.cloud.appwrite.io/v1') # Your API Endpoint - .set_admin('') # - .set_key('') # Your secret API key - -tables = Tables.new(client) - -result = tables.upsert_rows( - database_id: '', - table_id: '' -) diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md deleted file mode 100644 index 1b9627afac..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnBoolean = try await tables.createBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md deleted file mode 100644 index e002fb8042..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnDatetime = try await tables.createDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md deleted file mode 100644 index 338493dbc5..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEmail = try await tables.createEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md deleted file mode 100644 index a6a9fff2c4..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEnum = try await tables.createEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md deleted file mode 100644 index 12e4062454..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnFloat = try await tables.createFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-index.md b/docs/examples/1.8.x/server-swift/examples/tables/create-index.md deleted file mode 100644 index 03dea1ac48..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-index.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite -import AppwriteEnums - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIndex = try await tables.createIndex( - databaseId: "", - tableId: "", - key: "", - type: .key, - columns: [], - orders: [], // optional - lengths: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md deleted file mode 100644 index 6c04294025..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnInteger = try await tables.createIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - min: 0, // optional - max: 0, // optional - default: 0, // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md deleted file mode 100644 index 2cd0b2795f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIp = try await tables.createIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md deleted file mode 100644 index 66b993cf9a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-relationship-column.md +++ /dev/null @@ -1,21 +0,0 @@ -import Appwrite -import AppwriteEnums - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnRelationship = try await tables.createRelationshipColumn( - databaseId: "", - tableId: "", - relatedTableId: "", - type: .oneToOne, - twoWay: false, // optional - key: "", // optional - twoWayKey: "", // optional - onDelete: .cascade // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-row.md b/docs/examples/1.8.x/server-swift/examples/tables/create-row.md deleted file mode 100644 index a736355127..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-row.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.createRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/create-rows.md deleted file mode 100644 index ee2095f08f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.createRows( - databaseId: "", - tableId: "", - rows: [] -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md deleted file mode 100644 index e83ffdf367..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-string-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnString = try await tables.createStringColumn( - databaseId: "", - tableId: "", - key: "", - size: 1, - required: false, - default: "", // optional - array: false, // optional - encrypt: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md b/docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md deleted file mode 100644 index 150b51309d..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnUrl = try await tables.createUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", // optional - array: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/create.md b/docs/examples/1.8.x/server-swift/examples/tables/create.md deleted file mode 100644 index 0843dfd242..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/create.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let table = try await tables.create( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md b/docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md deleted file mode 100644 index ef24324780..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/decrement-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let row = try await tables.decrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - min: 0 // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-column.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-column.md deleted file mode 100644 index 07f825ddbe..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.deleteColumn( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-index.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-index.md deleted file mode 100644 index b6d2e5bfea..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.deleteIndex( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-row.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-row.md deleted file mode 100644 index 92bc38777e..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-row.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -let tables = Tables(client) - -let result = try await tables.deleteRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md deleted file mode 100644 index d27fbce85f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.deleteRows( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/delete.md b/docs/examples/1.8.x/server-swift/examples/tables/delete.md deleted file mode 100644 index aefa1d8cda..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/delete.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.delete( - databaseId: "", - tableId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get-column.md b/docs/examples/1.8.x/server-swift/examples/tables/get-column.md deleted file mode 100644 index 653f79dce7..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get-column.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let result = try await tables.getColumn( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get-index.md b/docs/examples/1.8.x/server-swift/examples/tables/get-index.md deleted file mode 100644 index 6835f56aa0..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get-index.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIndex = try await tables.getIndex( - databaseId: "", - tableId: "", - key: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get-row.md b/docs/examples/1.8.x/server-swift/examples/tables/get-row.md deleted file mode 100644 index e2ff10f09a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -let tables = Tables(client) - -let row = try await tables.getRow( - databaseId: "", - tableId: "", - rowId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/get.md b/docs/examples/1.8.x/server-swift/examples/tables/get.md deleted file mode 100644 index 610bf42529..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/get.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let table = try await tables.get( - databaseId: "", - tableId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md b/docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md deleted file mode 100644 index 6ea883d612..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/increment-row-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let row = try await tables.incrementRowColumn( - databaseId: "", - tableId: "", - rowId: "", - column: "", - value: 0, // optional - max: 0 // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list-columns.md b/docs/examples/1.8.x/server-swift/examples/tables/list-columns.md deleted file mode 100644 index 88c86137a4..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list-columns.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnList = try await tables.listColumns( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md b/docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md deleted file mode 100644 index 2ea8e99eca..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list-indexes.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIndexList = try await tables.listIndexes( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/list-rows.md deleted file mode 100644 index ca2e5b0d4b..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list-rows.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -let tables = Tables(client) - -let rowList = try await tables.listRows( - databaseId: "", - tableId: "", - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/list.md b/docs/examples/1.8.x/server-swift/examples/tables/list.md deleted file mode 100644 index e135b50289..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/list.md +++ /dev/null @@ -1,15 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let tableList = try await tables.list( - databaseId: "", - queries: [], // optional - search: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md deleted file mode 100644 index e0d1ea2f9f..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-boolean-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnBoolean = try await tables.updateBooleanColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: false, - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md deleted file mode 100644 index f09e27920b..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-datetime-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnDatetime = try await tables.updateDatetimeColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md deleted file mode 100644 index f7b8cc4ede..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-email-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEmail = try await tables.updateEmailColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "email@example.com", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md deleted file mode 100644 index 776da72e59..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-enum-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnEnum = try await tables.updateEnumColumn( - databaseId: "", - tableId: "", - key: "", - elements: [], - required: false, - default: "", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md deleted file mode 100644 index d6cd34c4b5..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-float-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnFloat = try await tables.updateFloatColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md deleted file mode 100644 index e1265cedbf..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-integer-column.md +++ /dev/null @@ -1,20 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnInteger = try await tables.updateIntegerColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: 0, - min: 0, // optional - max: 0, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md deleted file mode 100644 index 4f3538bb7a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-ip-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnIp = try await tables.updateIpColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md deleted file mode 100644 index 74bfd62750..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-relationship-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite -import AppwriteEnums - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnRelationship = try await tables.updateRelationshipColumn( - databaseId: "", - tableId: "", - key: "", - onDelete: .cascade, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-row.md b/docs/examples/1.8.x/server-swift/examples/tables/update-row.md deleted file mode 100644 index 7fa81f6b58..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-row.md +++ /dev/null @@ -1,17 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setSession("") // The user session to authenticate with - -let tables = Tables(client) - -let row = try await tables.updateRow( - databaseId: "", - tableId: "", - rowId: "", - data: [:], // optional - permissions: ["read("any")"] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/update-rows.md deleted file mode 100644 index d7cd0697da..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-rows.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.updateRows( - databaseId: "", - tableId: "", - data: [:], // optional - queries: [] // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md deleted file mode 100644 index ba14d9a96a..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-string-column.md +++ /dev/null @@ -1,19 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnString = try await tables.updateStringColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "", - size: 1, // optional - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md b/docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md deleted file mode 100644 index 19015e4c88..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update-url-column.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let columnUrl = try await tables.updateUrlColumn( - databaseId: "", - tableId: "", - key: "", - required: false, - default: "https://example.com", - newKey: "" // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/update.md b/docs/examples/1.8.x/server-swift/examples/tables/update.md deleted file mode 100644 index c9840a0a51..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/update.md +++ /dev/null @@ -1,18 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setProject("") // Your project ID - .setKey("") // Your secret API key - -let tables = Tables(client) - -let table = try await tables.update( - databaseId: "", - tableId: "", - name: "", - permissions: ["read("any")"], // optional - rowSecurity: false, // optional - enabled: false // optional -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md b/docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md deleted file mode 100644 index c5c5b73afc..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/upsert-row.md +++ /dev/null @@ -1,16 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setSession("") // The user session to authenticate with - .setKey("") // Your secret API key - .setJWT("") // Your secret JSON Web Token - -let tables = Tables(client) - -let row = try await tables.upsertRow( - databaseId: "", - tableId: "", - rowId: "" -) - diff --git a/docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md b/docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md deleted file mode 100644 index 037d927dc9..0000000000 --- a/docs/examples/1.8.x/server-swift/examples/tables/upsert-rows.md +++ /dev/null @@ -1,14 +0,0 @@ -import Appwrite - -let client = Client() - .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint - .setAdmin("") // - .setKey("") // Your secret API key - -let tables = Tables(client) - -let rowList = try await tables.upsertRows( - databaseId: "", - tableId: "" -) - diff --git a/docs/references/databases/create-boolean-column.md b/docs/references/databases/create-boolean-column.md deleted file mode 100644 index c528ede1a2..0000000000 --- a/docs/references/databases/create-boolean-column.md +++ /dev/null @@ -1 +0,0 @@ -Create a boolean column. diff --git a/docs/references/databases/create-datetime-column.md b/docs/references/databases/create-datetime-column.md deleted file mode 100644 index ad92750639..0000000000 --- a/docs/references/databases/create-datetime-column.md +++ /dev/null @@ -1 +0,0 @@ -Create a date time column according to the ISO 8601 standard. \ No newline at end of file diff --git a/docs/references/databases/create-email-column.md b/docs/references/databases/create-email-column.md deleted file mode 100644 index 91aa5c9326..0000000000 --- a/docs/references/databases/create-email-column.md +++ /dev/null @@ -1 +0,0 @@ -Create an email column. diff --git a/docs/references/databases/create-enum-column.md b/docs/references/databases/create-enum-column.md deleted file mode 100644 index b9e5a3ebe4..0000000000 --- a/docs/references/databases/create-enum-column.md +++ /dev/null @@ -1 +0,0 @@ -Create an enumeration column. The `elements` param acts as a white-list of accepted values for this column. \ No newline at end of file diff --git a/docs/references/databases/create-float-column.md b/docs/references/databases/create-float-column.md deleted file mode 100644 index 0b133eef28..0000000000 --- a/docs/references/databases/create-float-column.md +++ /dev/null @@ -1 +0,0 @@ -Create a float column. Optionally, minimum and maximum values can be provided. diff --git a/docs/references/databases/create-integer-column.md b/docs/references/databases/create-integer-column.md deleted file mode 100644 index 5f51b3965a..0000000000 --- a/docs/references/databases/create-integer-column.md +++ /dev/null @@ -1 +0,0 @@ -Create an integer column. Optionally, minimum and maximum values can be provided. diff --git a/docs/references/databases/create-ip-column.md b/docs/references/databases/create-ip-column.md deleted file mode 100644 index 012431dbae..0000000000 --- a/docs/references/databases/create-ip-column.md +++ /dev/null @@ -1 +0,0 @@ -Create IP address column. diff --git a/docs/references/databases/create-relationship-column.md b/docs/references/databases/create-relationship-column.md deleted file mode 100644 index d87d8bccf8..0000000000 --- a/docs/references/databases/create-relationship-column.md +++ /dev/null @@ -1 +0,0 @@ -Create relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns). diff --git a/docs/references/databases/create-row.md b/docs/references/databases/create-row.md deleted file mode 100644 index a07abfa04d..0000000000 --- a/docs/references/databases/create-row.md +++ /dev/null @@ -1 +0,0 @@ -Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/databases/create-rows.md b/docs/references/databases/create-rows.md deleted file mode 100644 index cea67913b4..0000000000 --- a/docs/references/databases/create-rows.md +++ /dev/null @@ -1 +0,0 @@ -Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/databases/create-string-column.md b/docs/references/databases/create-string-column.md deleted file mode 100644 index 7395e26a11..0000000000 --- a/docs/references/databases/create-string-column.md +++ /dev/null @@ -1 +0,0 @@ -Create a string column. diff --git a/docs/references/databases/create-table.md b/docs/references/databases/create-table.md deleted file mode 100644 index 263638ea00..0000000000 --- a/docs/references/databases/create-table.md +++ /dev/null @@ -1 +0,0 @@ -Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/databases/create-url-column.md b/docs/references/databases/create-url-column.md deleted file mode 100644 index e731d758ce..0000000000 --- a/docs/references/databases/create-url-column.md +++ /dev/null @@ -1 +0,0 @@ -Create a URL column. diff --git a/docs/references/databases/decrement-row-column.md b/docs/references/databases/decrement-row-column.md deleted file mode 100644 index b7b32d6148..0000000000 --- a/docs/references/databases/decrement-row-column.md +++ /dev/null @@ -1 +0,0 @@ -Decrement a specific column of a row by a given value. \ No newline at end of file diff --git a/docs/references/databases/delete-column.md b/docs/references/databases/delete-column.md deleted file mode 100644 index efba8b1d77..0000000000 --- a/docs/references/databases/delete-column.md +++ /dev/null @@ -1 +0,0 @@ -Deletes a column. \ No newline at end of file diff --git a/docs/references/databases/delete-row.md b/docs/references/databases/delete-row.md deleted file mode 100644 index c0b9dfbdaf..0000000000 --- a/docs/references/databases/delete-row.md +++ /dev/null @@ -1 +0,0 @@ -Delete a row by its unique ID. \ No newline at end of file diff --git a/docs/references/databases/delete-rows.md b/docs/references/databases/delete-rows.md deleted file mode 100644 index 9d5189ce76..0000000000 --- a/docs/references/databases/delete-rows.md +++ /dev/null @@ -1 +0,0 @@ -Bulk delete rows using queries, if no queries are passed then all rows are deleted. \ No newline at end of file diff --git a/docs/references/databases/delete-table.md b/docs/references/databases/delete-table.md deleted file mode 100644 index ad74ca3233..0000000000 --- a/docs/references/databases/delete-table.md +++ /dev/null @@ -1 +0,0 @@ -Delete a table by its unique ID. Only users with write permissions have access to delete this resource. \ No newline at end of file diff --git a/docs/references/databases/get-column.md b/docs/references/databases/get-column.md deleted file mode 100644 index cd8b8797a9..0000000000 --- a/docs/references/databases/get-column.md +++ /dev/null @@ -1 +0,0 @@ -Get column by ID. \ No newline at end of file diff --git a/docs/references/databases/get-row-logs.md b/docs/references/databases/get-row-logs.md deleted file mode 100644 index 1d494ed53e..0000000000 --- a/docs/references/databases/get-row-logs.md +++ /dev/null @@ -1 +0,0 @@ -Get the row activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/databases/get-row.md b/docs/references/databases/get-row.md deleted file mode 100644 index 6a30fa472c..0000000000 --- a/docs/references/databases/get-row.md +++ /dev/null @@ -1 +0,0 @@ -Get a row by its unique ID. This endpoint response returns a JSON object with the row data. \ No newline at end of file diff --git a/docs/references/databases/get-table-logs.md b/docs/references/databases/get-table-logs.md deleted file mode 100644 index 8b00c7f317..0000000000 --- a/docs/references/databases/get-table-logs.md +++ /dev/null @@ -1 +0,0 @@ -Get the table activity logs list by its unique ID. \ No newline at end of file diff --git a/docs/references/databases/get-table-usage.md b/docs/references/databases/get-table-usage.md deleted file mode 100644 index 08e28af0a6..0000000000 --- a/docs/references/databases/get-table-usage.md +++ /dev/null @@ -1 +0,0 @@ -Get usage metrics and statistics for a table. Returning the total number of rows. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days. \ No newline at end of file diff --git a/docs/references/databases/get-table.md b/docs/references/databases/get-table.md deleted file mode 100644 index 67b8428431..0000000000 --- a/docs/references/databases/get-table.md +++ /dev/null @@ -1 +0,0 @@ -Get a table by its unique ID. This endpoint response returns a JSON object with the table metadata. \ No newline at end of file diff --git a/docs/references/databases/increment-row-column.md b/docs/references/databases/increment-row-column.md deleted file mode 100644 index 7a19b3fbc7..0000000000 --- a/docs/references/databases/increment-row-column.md +++ /dev/null @@ -1 +0,0 @@ -Increment a specific column of a row by a given value. \ No newline at end of file diff --git a/docs/references/databases/list-columns.md b/docs/references/databases/list-columns.md deleted file mode 100644 index aacf373082..0000000000 --- a/docs/references/databases/list-columns.md +++ /dev/null @@ -1 +0,0 @@ -List columns in the table. \ No newline at end of file diff --git a/docs/references/databases/list-rows.md b/docs/references/databases/list-rows.md deleted file mode 100644 index 68185fc192..0000000000 --- a/docs/references/databases/list-rows.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all the user's rows in a given table. You can use the query params to filter your results. \ No newline at end of file diff --git a/docs/references/databases/list-tables.md b/docs/references/databases/list-tables.md deleted file mode 100644 index e14795eeac..0000000000 --- a/docs/references/databases/list-tables.md +++ /dev/null @@ -1 +0,0 @@ -Get a list of all tables that belong to the provided databaseId. You can use the search parameter to filter your results. \ No newline at end of file diff --git a/docs/references/databases/update-boolean-column.md b/docs/references/databases/update-boolean-column.md deleted file mode 100644 index f5167d97b6..0000000000 --- a/docs/references/databases/update-boolean-column.md +++ /dev/null @@ -1 +0,0 @@ -Update a boolean column. Changing the `default` value will not update already existing rows. \ No newline at end of file diff --git a/docs/references/databases/update-datetime-column.md b/docs/references/databases/update-datetime-column.md deleted file mode 100644 index e793b41921..0000000000 --- a/docs/references/databases/update-datetime-column.md +++ /dev/null @@ -1 +0,0 @@ -Update a date time column. Changing the `default` value will not update already existing rows. \ No newline at end of file diff --git a/docs/references/databases/update-email-column.md b/docs/references/databases/update-email-column.md deleted file mode 100644 index 0db17e29bd..0000000000 --- a/docs/references/databases/update-email-column.md +++ /dev/null @@ -1 +0,0 @@ -Update an email column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/update-enum-column.md b/docs/references/databases/update-enum-column.md deleted file mode 100644 index df172cbc38..0000000000 --- a/docs/references/databases/update-enum-column.md +++ /dev/null @@ -1 +0,0 @@ -Update an enum column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/update-float-column.md b/docs/references/databases/update-float-column.md deleted file mode 100644 index 4e0eb9ddb2..0000000000 --- a/docs/references/databases/update-float-column.md +++ /dev/null @@ -1 +0,0 @@ -Update a float column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/update-integer-column.md b/docs/references/databases/update-integer-column.md deleted file mode 100644 index 0f2a07ea6e..0000000000 --- a/docs/references/databases/update-integer-column.md +++ /dev/null @@ -1 +0,0 @@ -Update an integer column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/update-ip-column.md b/docs/references/databases/update-ip-column.md deleted file mode 100644 index 115c87a7e1..0000000000 --- a/docs/references/databases/update-ip-column.md +++ /dev/null @@ -1 +0,0 @@ -Update an ip column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/update-relationship-column.md b/docs/references/databases/update-relationship-column.md deleted file mode 100644 index dfdcd8ae5a..0000000000 --- a/docs/references/databases/update-relationship-column.md +++ /dev/null @@ -1 +0,0 @@ -Update relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns). diff --git a/docs/references/databases/update-row.md b/docs/references/databases/update-row.md deleted file mode 100644 index b532ea411d..0000000000 --- a/docs/references/databases/update-row.md +++ /dev/null @@ -1 +0,0 @@ -Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated. \ No newline at end of file diff --git a/docs/references/databases/update-rows.md b/docs/references/databases/update-rows.md deleted file mode 100644 index 334b91aec1..0000000000 --- a/docs/references/databases/update-rows.md +++ /dev/null @@ -1 +0,0 @@ -Update all rows that match your queries, if no queries are submitted then all rows are updated. You can pass only specific fields to be updated. \ No newline at end of file diff --git a/docs/references/databases/update-string-column.md b/docs/references/databases/update-string-column.md deleted file mode 100644 index 617214b4c9..0000000000 --- a/docs/references/databases/update-string-column.md +++ /dev/null @@ -1 +0,0 @@ -Update a string column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/update-table.md b/docs/references/databases/update-table.md deleted file mode 100644 index bbd676d3b8..0000000000 --- a/docs/references/databases/update-table.md +++ /dev/null @@ -1 +0,0 @@ -Update a table by its unique ID. \ No newline at end of file diff --git a/docs/references/databases/update-url-column.md b/docs/references/databases/update-url-column.md deleted file mode 100644 index 6080d71509..0000000000 --- a/docs/references/databases/update-url-column.md +++ /dev/null @@ -1 +0,0 @@ -Update an url column. Changing the `default` value will not update already existing rows. diff --git a/docs/references/databases/upsert-row.md b/docs/references/databases/upsert-row.md deleted file mode 100644 index 1132afd53c..0000000000 --- a/docs/references/databases/upsert-row.md +++ /dev/null @@ -1 +0,0 @@ -Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console. \ No newline at end of file diff --git a/docs/references/databases/upsert-rows.md b/docs/references/databases/upsert-rows.md deleted file mode 100644 index 21aa3da1ef..0000000000 --- a/docs/references/databases/upsert-rows.md +++ /dev/null @@ -1 +0,0 @@ -Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console.