Update tablesDb -> tablesDB

This commit is contained in:
Jake Barnby
2025-08-21 02:20:05 +12:00
parent 1b4f2f2275
commit 842dce2659
678 changed files with 18751 additions and 4103 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Generated
+6 -6
View File
@@ -4930,16 +4930,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "1.1.1",
"version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "4a6e0daa3486bbd9e0074c1231453b4e3758449b"
"reference": "c13516f944ab96a0048541c80abd251e2a16cf8b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/4a6e0daa3486bbd9e0074c1231453b4e3758449b",
"reference": "4a6e0daa3486bbd9e0074c1231453b4e3758449b",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/c13516f944ab96a0048541c80abd251e2a16cf8b",
"reference": "c13516f944ab96a0048541c80abd251e2a16cf8b",
"shasum": ""
},
"require": {
@@ -4975,9 +4975,9 @@
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"support": {
"issues": "https://github.com/appwrite/sdk-generator/issues",
"source": "https://github.com/appwrite/sdk-generator/tree/1.1.1"
"source": "https://github.com/appwrite/sdk-generator/tree/1.1.2"
},
"time": "2025-08-20T09:24:25+00:00"
"time": "2025-08-20T13:32:21+00:00"
},
{
"name": "doctrine/annotations",
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.createRow(
tablesDB.createRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.decrementRowColumn(
tablesDB.decrementRowColumn(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.deleteRow(
tablesDB.deleteRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.getRow(
tablesDB.getRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.incrementRowColumn(
tablesDB.incrementRowColumn(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.listRows(
tablesDB.listRows(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
listOf(), // queries (optional)
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.updateRow(
tablesDB.updateRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
TablesDb tablesDb = new TablesDb(client);
TablesDb tablesDB = new TablesDb(client);
tablesDb.upsertRow(
tablesDB.upsertRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.createRow(
val result = tablesDB.createRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.decrementRowColumn(
val result = tablesDB.decrementRowColumn(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.deleteRow(
val result = tablesDB.deleteRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.getRow(
val result = tablesDB.getRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.incrementRowColumn(
val result = tablesDB.incrementRowColumn(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.listRows(
val result = tablesDB.listRows(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
queries = listOf(), // (optional)
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.updateRow(
val result = tablesDB.updateRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -6,9 +6,9 @@ val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val tablesDb = TablesDb(client)
val tablesDB = TablesDb(client)
val result = tablesDb.upsertRow(
val result = tablesDB.upsertRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let row = try await tablesDb.createRow(
let row = try await tablesDB.createRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let row = try await tablesDb.decrementRowColumn(
let row = try await tablesDB.decrementRowColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let result = try await tablesDb.deleteRow(
let result = try await tablesDB.deleteRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>"
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let row = try await tablesDb.getRow(
let row = try await tablesDB.getRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let row = try await tablesDb.incrementRowColumn(
let row = try await tablesDB.incrementRowColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let rowList = try await tablesDb.listRows(
let rowList = try await tablesDB.listRows(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
queries: [] // optional
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let row = try await tablesDb.updateRow(
let row = try await tablesDB.updateRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let tablesDb = TablesDb(client)
let tablesDB = TablesDb(client)
let row = try await tablesDb.upsertRow(
let row = try await tablesDB.upsertRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
Row result = await tablesDb.createRow(
Row result = await tablesDB.createRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
Row result = await tablesDb.decrementRowColumn(
Row result = await tablesDB.decrementRowColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
await tablesDb.deleteRow(
await tablesDB.deleteRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
Row result = await tablesDb.getRow(
Row result = await tablesDB.getRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
Row result = await tablesDb.incrementRowColumn(
Row result = await tablesDB.incrementRowColumn(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
RowList result = await tablesDb.listRows(
RowList result = await tablesDB.listRows(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
queries: [], // optional
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
Row result = await tablesDb.updateRow(
Row result = await tablesDB.updateRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
TablesDb tablesDb = TablesDb(client);
TablesDb tablesDB = TablesDb(client);
Row result = await tablesDb.upsertRow(
Row result = await tablesDB.upsertRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -1,5 +1,5 @@
mutation {
tablesDbCreateRow(
tablesDBCreateRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -1,5 +1,5 @@
mutation {
tablesDbDecrementRowColumn(
tablesDBDecrementRowColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -1,5 +1,5 @@
mutation {
tablesDbDeleteRow(
tablesDBDeleteRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>"
@@ -1,5 +1,5 @@
mutation {
tablesDbIncrementRowColumn(
tablesDBIncrementRowColumn(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -1,5 +1,5 @@
mutation {
tablesDbUpdateRow(
tablesDBUpdateRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -1,5 +1,5 @@
mutation {
tablesDbUpsertRow(
tablesDBUpsertRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.createRow({
const result = await tablesDB.createRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.decrementRowColumn({
const result = await tablesDB.decrementRowColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.deleteRow({
const result = await tablesDB.deleteRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>'
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.getRow({
const result = await tablesDB.getRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.incrementRowColumn({
const result = await tablesDB.incrementRowColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.listRows({
const result = await tablesDB.listRows({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
queries: []
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.updateRow({
const result = await tablesDB.updateRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.upsertRow({
const result = await tablesDB.upsertRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.createRow({
const result = await tablesDB.createRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.decrementRowColumn({
const result = await tablesDB.decrementRowColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.deleteRow({
const result = await tablesDB.deleteRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>'
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.getRow({
const result = await tablesDB.getRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.incrementRowColumn({
const result = await tablesDB.incrementRowColumn({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.listRows({
const result = await tablesDB.listRows({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
queries: []
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.updateRow({
const result = await tablesDB.updateRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -4,9 +4,9 @@ const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const tablesDb = new TablesDb(client);
const tablesDB = new TablesDb(client);
const result = await tablesDb.upsertRow({
const result = await tablesDB.upsertRow({
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
@@ -1,4 +1,4 @@
appwrite tablesDb createBooleanColumn \
appwrite tablesDB createBooleanColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createDatetimeColumn \
appwrite tablesDB createDatetimeColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createEmailColumn \
appwrite tablesDB createEmailColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createEnumColumn \
appwrite tablesDB createEnumColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createFloatColumn \
appwrite tablesDB createFloatColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createIndex \
appwrite tablesDB createIndex \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createIntegerColumn \
appwrite tablesDB createIntegerColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createIpColumn \
appwrite tablesDB createIpColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createRelationshipColumn \
appwrite tablesDB createRelationshipColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--relatedTableId <RELATED_TABLE_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb createRow \
appwrite tablesDB createRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb createRows \
appwrite tablesDB createRows \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rows one two three
@@ -1,4 +1,4 @@
appwrite tablesDb createStringColumn \
appwrite tablesDB createStringColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb createTable \
appwrite tablesDB createTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--name <NAME> \
@@ -1,4 +1,4 @@
appwrite tablesDb createUrlColumn \
appwrite tablesDB createUrlColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
@@ -1,4 +1,4 @@
appwrite tablesDb create \
appwrite tablesDB create \
--databaseId <DATABASE_ID> \
--name <NAME> \
@@ -1,4 +1,4 @@
appwrite tablesDb decrementRowColumn \
appwrite tablesDB decrementRowColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb deleteColumn \
appwrite tablesDB deleteColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''
@@ -1,4 +1,4 @@
appwrite tablesDb deleteIndex \
appwrite tablesDB deleteIndex \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''
@@ -1,4 +1,4 @@
appwrite tablesDb deleteRow \
appwrite tablesDB deleteRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID>
@@ -1,4 +1,4 @@
appwrite tablesDb deleteRows \
appwrite tablesDB deleteRows \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
@@ -1,3 +1,3 @@
appwrite tablesDb deleteTable \
appwrite tablesDB deleteTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID>
@@ -1,2 +1,2 @@
appwrite tablesDb delete \
appwrite tablesDB delete \
--databaseId <DATABASE_ID>
@@ -1,4 +1,4 @@
appwrite tablesDb getColumn \
appwrite tablesDB getColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''
@@ -1,4 +1,4 @@
appwrite tablesDb getIndex \
appwrite tablesDB getIndex \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''
@@ -1,4 +1,4 @@
appwrite tablesDb getRow \
appwrite tablesDB getRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb getTableUsage \
appwrite tablesDB getTableUsage \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
@@ -1,3 +1,3 @@
appwrite tablesDb getTable \
appwrite tablesDB getTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID>
@@ -1,3 +1,3 @@
appwrite tablesDb getUsage \
appwrite tablesDB getUsage \
--databaseId <DATABASE_ID> \
@@ -1,2 +1,2 @@
appwrite tablesDb get \
appwrite tablesDB get \
--databaseId <DATABASE_ID>
@@ -1,4 +1,4 @@
appwrite tablesDb incrementRowColumn \
appwrite tablesDB incrementRowColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb listColumns \
appwrite tablesDB listColumns \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb listIndexes \
appwrite tablesDB listIndexes \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
@@ -1,4 +1,4 @@
appwrite tablesDb listRowLogs \
appwrite tablesDB listRowLogs \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \

Some files were not shown because too many files have changed in this diff Show More