update: regen examples for grids.

This commit is contained in:
Darshan 2025-07-27 17:15:17 +05:30
parent 5ceaf66cc9
commit bc8d5963ae
795 changed files with 13581 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Grids;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Grids grids = new Grids(client);
grids.createRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // 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());
})
);

View file

@ -0,0 +1,24 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Grids;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Grids grids = new Grids(client);
grids.deleteRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);

View file

@ -0,0 +1,25 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Grids;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Grids grids = new Grids(client);
grids.getRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // rowId
listOf(), // queries (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);

View file

@ -0,0 +1,24 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Grids;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Grids grids = new Grids(client);
grids.listRows(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
listOf(), // queries (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {
error.printStackTrace();
return;
}
Log.d("Appwrite", result.toString());
})
);

View file

@ -0,0 +1,26 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Grids;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Grids grids = new Grids(client);
grids.updateRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // 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());
})
);

View file

@ -0,0 +1,26 @@
import io.appwrite.Client;
import io.appwrite.coroutines.CoroutineCallback;
import io.appwrite.services.Grids;
Client client = new Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
Grids grids = new Grids(client);
grids.upsertRow(
"<DATABASE_ID>", // databaseId
"<TABLE_ID>", // tableId
"<ROW_ID>", // 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());
})
);

View file

@ -0,0 +1,17 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Grids
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val grids = Grids(client)
val result = grids.createRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
data = mapOf( "a" to "b" ),
permissions = listOf("read("any")"), // (optional)
)

View file

@ -0,0 +1,15 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Grids
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val grids = Grids(client)
val result = grids.deleteRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
)

View file

@ -0,0 +1,16 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Grids
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val grids = Grids(client)
val result = grids.getRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
queries = listOf(), // (optional)
)

View file

@ -0,0 +1,15 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Grids
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val grids = Grids(client)
val result = grids.listRows(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
queries = listOf(), // (optional)
)

View file

@ -0,0 +1,17 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Grids
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val grids = Grids(client)
val result = grids.updateRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
data = mapOf( "a" to "b" ), // (optional)
permissions = listOf("read("any")"), // (optional)
)

View file

@ -0,0 +1,17 @@
import io.appwrite.Client
import io.appwrite.coroutines.CoroutineCallback
import io.appwrite.services.Grids
val client = Client(context)
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
val grids = Grids(client)
val result = grids.upsertRow(
databaseId = "<DATABASE_ID>",
tableId = "<TABLE_ID>",
rowId = "<ROW_ID>",
data = mapOf( "a" to "b" ), // (optional)
permissions = listOf("read("any")"), // (optional)
)

View file

@ -0,0 +1,16 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let grids = Grids(client)
let row = try await grids.createRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: [:],
permissions: ["read("any")"] // optional
)

View file

@ -0,0 +1,14 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let grids = Grids(client)
let result = try await grids.deleteRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>"
)

View file

@ -0,0 +1,15 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let grids = Grids(client)
let row = try await grids.getRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
queries: [] // optional
)

View file

@ -0,0 +1,14 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let grids = Grids(client)
let rowList = try await grids.listRows(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
queries: [] // optional
)

View file

@ -0,0 +1,16 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let grids = Grids(client)
let row = try await grids.updateRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: [:], // optional
permissions: ["read("any")"] // optional
)

View file

@ -0,0 +1,16 @@
import Appwrite
let client = Client()
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
.setProject("<YOUR_PROJECT_ID>") // Your project ID
let grids = Grids(client)
let row = try await grids.upsertRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: [:], // optional
permissions: ["read("any")"] // optional
)

View file

@ -0,0 +1,15 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Grids grids = Grids(client);
Row result = await grids.createRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {},
permissions: ["read("any")"], // optional
);

View file

@ -0,0 +1,13 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Grids grids = Grids(client);
await grids.deleteRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
);

View file

@ -0,0 +1,14 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Grids grids = Grids(client);
Row result = await grids.getRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
queries: [], // optional
);

View file

@ -0,0 +1,13 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Grids grids = Grids(client);
RowList result = await grids.listRows(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
queries: [], // optional
);

View file

@ -0,0 +1,15 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Grids grids = Grids(client);
Row result = await grids.updateRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {}, // optional
permissions: ["read("any")"], // optional
);

View file

@ -0,0 +1,15 @@
import 'package:appwrite/appwrite.dart';
Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
Grids grids = Grids(client);
Row result = await grids.upsertRow(
databaseId: '<DATABASE_ID>',
tableId: '<TABLE_ID>',
rowId: '<ROW_ID>',
data: {}, // optional
permissions: ["read("any")"], // optional
);

View file

@ -0,0 +1,18 @@
mutation {
gridsCreateRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: "{}",
permissions: ["read("any")"]
) {
_id
_sequence
_tableId
_databaseId
_createdAt
_updatedAt
_permissions
data
}
}

View file

@ -0,0 +1,9 @@
mutation {
gridsDeleteRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>"
) {
status
}
}

View file

@ -0,0 +1,18 @@
mutation {
gridsUpdateRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: "{}",
permissions: ["read("any")"]
) {
_id
_sequence
_tableId
_databaseId
_createdAt
_updatedAt
_permissions
data
}
}

View file

@ -0,0 +1,18 @@
mutation {
gridsUpsertRow(
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
rowId: "<ROW_ID>",
data: "{}",
permissions: ["read("any")"]
) {
_id
_sequence
_tableId
_databaseId
_createdAt
_updatedAt
_permissions
data
}
}

View file

@ -0,0 +1,17 @@
import { Client, Grids } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.createRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
{}, // data
["read("any")"] // permissions (optional)
);
console.log(result);

View file

@ -0,0 +1,15 @@
import { Client, Grids } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.deleteRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>' // rowId
);
console.log(result);

View file

@ -0,0 +1,16 @@
import { Client, Grids } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.getRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
[] // queries (optional)
);
console.log(result);

View file

@ -0,0 +1,15 @@
import { Client, Grids } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.listRows(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
[] // queries (optional)
);
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, Grids } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.updateRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
{}, // data (optional)
["read("any")"] // permissions (optional)
);
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, Grids } from "react-native-appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.upsertRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
{}, // data (optional)
["read("any")"] // permissions (optional)
);
console.log(result);

View file

@ -0,0 +1,13 @@
POST /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"rowId": "<ROW_ID>",
"data": {},
"permissions": ["read(\"any\")"]
}

View file

@ -0,0 +1,8 @@
DELETE /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>

View file

@ -0,0 +1,6 @@
GET /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1
Host: cloud.appwrite.io
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>

View file

@ -0,0 +1,6 @@
GET /v1/databases/{databaseId}/grids/tables/{tableId}/rows HTTP/1.1
Host: cloud.appwrite.io
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>

View file

@ -0,0 +1,12 @@
PATCH /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"data": {},
"permissions": ["read(\"any\")"]
}

View file

@ -0,0 +1,12 @@
PUT /v1/databases/{databaseId}/grids/tables/{tableId}/rows/{rowId} HTTP/1.1
Host: cloud.appwrite.io
Content-Type: application/json
X-Appwrite-Response-Format: 1.8.0
X-Appwrite-Project: <YOUR_PROJECT_ID>
X-Appwrite-Session:
X-Appwrite-JWT: <YOUR_JWT>
{
"data": {},
"permissions": ["read(\"any\")"]
}

View file

@ -0,0 +1,17 @@
import { Client, Grids } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.createRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
{}, // data
["read("any")"] // permissions (optional)
);
console.log(result);

View file

@ -0,0 +1,15 @@
import { Client, Grids } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.deleteRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>' // rowId
);
console.log(result);

View file

@ -0,0 +1,16 @@
import { Client, Grids } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.getRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
[] // queries (optional)
);
console.log(result);

View file

@ -0,0 +1,15 @@
import { Client, Grids } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.listRows(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
[] // queries (optional)
);
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, Grids } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.updateRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
{}, // data (optional)
["read("any")"] // permissions (optional)
);
console.log(result);

View file

@ -0,0 +1,17 @@
import { Client, Grids } from "appwrite";
const client = new Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
const grids = new Grids(client);
const result = await grids.upsertRow(
'<DATABASE_ID>', // databaseId
'<TABLE_ID>', // tableId
'<ROW_ID>', // rowId
{}, // data (optional)
["read("any")"] // permissions (optional)
);
console.log(result);

View file

@ -0,0 +1,7 @@
appwrite grids createBooleanColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,4 @@
appwrite grids createDatabase \
--databaseId <DATABASE_ID> \
--name <NAME> \

View file

@ -0,0 +1,7 @@
appwrite grids createDatetimeColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,7 @@
appwrite grids createEmailColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,8 @@
appwrite grids createEnumColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--elements one two three \
--required false \

View file

@ -0,0 +1,9 @@
appwrite grids createFloatColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,8 @@
appwrite grids createIndex \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--type key \
--columns one two three \

View file

@ -0,0 +1,9 @@
appwrite grids createIntegerColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,7 @@
appwrite grids createIpColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,9 @@
appwrite grids createRelationshipColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--relatedTableId <RELATED_TABLE_ID> \
--type oneToOne \

View file

@ -0,0 +1,6 @@
appwrite grids createRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
--data '{ "key": "value" }' \

View file

@ -0,0 +1,4 @@
appwrite grids createRows \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rows one two three

View file

@ -0,0 +1,9 @@
appwrite grids createStringColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--size 1 \
--required false \

View file

@ -0,0 +1,7 @@
appwrite grids createTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--name <NAME> \

View file

@ -0,0 +1,7 @@
appwrite grids createUrlColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \

View file

@ -0,0 +1,7 @@
appwrite grids decrementRowColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
--column '' \

View file

@ -0,0 +1,4 @@
appwrite grids deleteColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''

View file

@ -0,0 +1,2 @@
appwrite grids deleteDatabase \
--databaseId <DATABASE_ID>

View file

@ -0,0 +1,4 @@
appwrite grids deleteIndex \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''

View file

@ -0,0 +1,4 @@
appwrite grids deleteRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID>

View file

@ -0,0 +1,4 @@
appwrite grids deleteRows \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,3 @@
appwrite grids deleteTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID>

View file

@ -0,0 +1,4 @@
appwrite grids getColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''

View file

@ -0,0 +1,3 @@
appwrite grids getDatabaseUsage \
--databaseId <DATABASE_ID> \

View file

@ -0,0 +1,2 @@
appwrite grids getDatabase \
--databaseId <DATABASE_ID>

View file

@ -0,0 +1,4 @@
appwrite grids getIndex \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key ''

View file

@ -0,0 +1,5 @@
appwrite grids getRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \

View file

@ -0,0 +1,4 @@
appwrite grids getTableUsage \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,3 @@
appwrite grids getTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID>

View file

@ -0,0 +1,7 @@
appwrite grids incrementRowColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \
--column '' \

View file

@ -0,0 +1,4 @@
appwrite grids listColumns \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,3 @@
appwrite grids listDatabaseLogs \
--databaseId <DATABASE_ID> \

View file

@ -0,0 +1,2 @@
appwrite grids listDatabaseUsage \

View file

@ -0,0 +1,3 @@
appwrite grids listDatabases \

View file

@ -0,0 +1,4 @@
appwrite grids listIndexes \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,5 @@
appwrite grids listRowLogs \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \

View file

@ -0,0 +1,4 @@
appwrite grids listRows \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,4 @@
appwrite grids listTableLogs \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,4 @@
appwrite grids listTables \
--databaseId <DATABASE_ID> \

View file

@ -0,0 +1,7 @@
appwrite grids updateBooleanColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default false \

View file

@ -0,0 +1,4 @@
appwrite grids updateDatabase \
--databaseId <DATABASE_ID> \
--name <NAME> \

View file

@ -0,0 +1,7 @@
appwrite grids updateDatetimeColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default '' \

View file

@ -0,0 +1,7 @@
appwrite grids updateEmailColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default email@example.com \

View file

@ -0,0 +1,8 @@
appwrite grids updateEnumColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--elements one two three \
--required false \
--default <DEFAULT> \

View file

@ -0,0 +1,9 @@
appwrite grids updateFloatColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default null \

View file

@ -0,0 +1,9 @@
appwrite grids updateIntegerColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default null \

View file

@ -0,0 +1,7 @@
appwrite grids updateIpColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default '' \

View file

@ -0,0 +1,6 @@
appwrite grids updateRelationshipColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \

View file

@ -0,0 +1,6 @@
appwrite grids updateRow \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--rowId <ROW_ID> \

View file

@ -0,0 +1,5 @@
appwrite grids updateRows \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \

View file

@ -0,0 +1,8 @@
appwrite grids updateStringColumn \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--key '' \
--required false \
--default <DEFAULT> \

View file

@ -0,0 +1,7 @@
appwrite grids updateTable \
--databaseId <DATABASE_ID> \
--tableId <TABLE_ID> \
--name <NAME> \

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