mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch '1.8.x' into pg-adapter
This commit is contained in:
@@ -304,6 +304,7 @@ jobs:
|
||||
-e _APP_DATABASE_SHARED_TABLES \
|
||||
-e _APP_DATABASE_SHARED_TABLES_V1 \
|
||||
appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude-group devKeys
|
||||
appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude-group devKeys
|
||||
|
||||
e2e_dev_keys:
|
||||
name: E2E Service Test (Dev Keys)
|
||||
|
||||
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
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
use Utopia\Image\Image;
|
||||
use Utopia\System\System;
|
||||
|
||||
Image::setResourceLimit('memory', intval(System::getEnv('_APP_IMAGES_RESOURCE_LIMIT_MEMORY', 1024*1024*64)));
|
||||
@@ -234,7 +234,7 @@ $register->set('pools', function () {
|
||||
\PDO::ATTR_DEFAULT_FETCH_MODE => \PDO::FETCH_ASSOC,
|
||||
\PDO::ATTR_EMULATE_PREPARES => true,
|
||||
\PDO::ATTR_STRINGIFY_FETCHES => true
|
||||
));
|
||||
]);
|
||||
});
|
||||
},
|
||||
'redis' => function () use ($dsnHost, $dsnPort, $dsnPass) {
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import io.appwrite.Client;
|
||||
import io.appwrite.coroutines.CoroutineCallback;
|
||||
import io.appwrite.services.Databases;
|
||||
|
||||
Client client = new Client(context)
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setKey(""); //
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
|
||||
databases.createDocuments(
|
||||
"<DATABASE_ID>", // databaseId
|
||||
"<COLLECTION_ID>", // collectionId
|
||||
listOf(), // documents
|
||||
new CoroutineCallback<>((result, error) -> {
|
||||
if (error != null) {
|
||||
error.printStackTrace();
|
||||
return;
|
||||
}
|
||||
|
||||
Log.d("Appwrite", result.toString());
|
||||
})
|
||||
);
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
import io.appwrite.Client;
|
||||
import io.appwrite.coroutines.CoroutineCallback;
|
||||
import io.appwrite.services.Databases;
|
||||
|
||||
Client client = new Client(context)
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>"); // Your project ID
|
||||
|
||||
Databases databases = new Databases(client);
|
||||
|
||||
databases.upsertDocument(
|
||||
"<DATABASE_ID>", // databaseId
|
||||
"<COLLECTION_ID>", // collectionId
|
||||
"<DOCUMENT_ID>", // documentId
|
||||
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());
|
||||
})
|
||||
);
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
import io.appwrite.Client
|
||||
import io.appwrite.coroutines.CoroutineCallback
|
||||
import io.appwrite.services.Databases
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setKey("") //
|
||||
|
||||
val databases = Databases(client)
|
||||
|
||||
val result = databases.createDocuments(
|
||||
databaseId = "<DATABASE_ID>",
|
||||
collectionId = "<COLLECTION_ID>",
|
||||
documents = listOf(),
|
||||
)
|
||||
@@ -0,0 +1,17 @@
|
||||
import io.appwrite.Client
|
||||
import io.appwrite.coroutines.CoroutineCallback
|
||||
import io.appwrite.services.Databases
|
||||
|
||||
val client = Client(context)
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setProject("<YOUR_PROJECT_ID>") // Your project ID
|
||||
|
||||
val databases = Databases(client)
|
||||
|
||||
val result = databases.upsertDocument(
|
||||
databaseId = "<DATABASE_ID>",
|
||||
collectionId = "<COLLECTION_ID>",
|
||||
documentId = "<DOCUMENT_ID>",
|
||||
data = mapOf( "a" to "b" ),
|
||||
permissions = listOf("read("any")"), // (optional)
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
import Appwrite
|
||||
|
||||
let client = Client()
|
||||
.setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
|
||||
.setKey("") //
|
||||
|
||||
let databases = Databases(client)
|
||||
|
||||
let documentList = try await databases.createDocuments(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documents: []
|
||||
)
|
||||
|
||||
@@ -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 databases = Databases(client)
|
||||
|
||||
let document = try await databases.upsertDocument(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documentId: "<DOCUMENT_ID>",
|
||||
data: [:],
|
||||
permissions: ["read("any")"] // optional
|
||||
)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import 'package:appwrite/appwrite.dart';
|
||||
|
||||
Client client = Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setKey(''); //
|
||||
|
||||
Databases databases = Databases(client);
|
||||
|
||||
DocumentList result = await databases.createDocuments(
|
||||
databaseId: '<DATABASE_ID>',
|
||||
collectionId: '<COLLECTION_ID>',
|
||||
documents: [],
|
||||
);
|
||||
@@ -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
|
||||
|
||||
Databases databases = Databases(client);
|
||||
|
||||
Document result = await databases.upsertDocument(
|
||||
databaseId: '<DATABASE_ID>',
|
||||
collectionId: '<COLLECTION_ID>',
|
||||
documentId: '<DOCUMENT_ID>',
|
||||
data: {},
|
||||
permissions: ["read("any")"], // optional
|
||||
);
|
||||
@@ -0,0 +1,18 @@
|
||||
mutation {
|
||||
databasesCreateDocuments(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documents: []
|
||||
) {
|
||||
total
|
||||
documents {
|
||||
_id
|
||||
_collectionId
|
||||
_databaseId
|
||||
_createdAt
|
||||
_updatedAt
|
||||
_permissions
|
||||
data
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
mutation {
|
||||
databasesUpsertDocument(
|
||||
databaseId: "<DATABASE_ID>",
|
||||
collectionId: "<COLLECTION_ID>",
|
||||
documentId: "<DOCUMENT_ID>",
|
||||
data: "{}",
|
||||
permissions: ["read("any")"]
|
||||
) {
|
||||
_id
|
||||
_collectionId
|
||||
_databaseId
|
||||
_createdAt
|
||||
_updatedAt
|
||||
_permissions
|
||||
data
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Client, Databases } from "react-native-appwrite";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setKey(''); //
|
||||
|
||||
const databases = new Databases(client);
|
||||
|
||||
const result = await databases.createDocuments(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<COLLECTION_ID>', // collectionId
|
||||
[] // documents
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Client, Databases } 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 databases = new Databases(client);
|
||||
|
||||
const result = await databases.upsertDocument(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<COLLECTION_ID>', // collectionId
|
||||
'<DOCUMENT_ID>', // documentId
|
||||
{}, // data
|
||||
["read("any")"] // permissions (optional)
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
@@ -0,0 +1,11 @@
|
||||
POST /v1/databases/{databaseId}/collections/{collectionId}/documents HTTP/1.1
|
||||
Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.7.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"documents": []
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
PUT /v1/databases/{databaseId}/collections/{collectionId}/documents/{documentId} HTTP/1.1
|
||||
Host: cloud.appwrite.io
|
||||
Content-Type: application/json
|
||||
X-Appwrite-Response-Format: 1.7.0
|
||||
X-Appwrite-Project: <YOUR_PROJECT_ID>
|
||||
X-Appwrite-Session:
|
||||
X-Appwrite-JWT: <YOUR_JWT>
|
||||
|
||||
{
|
||||
"data": {},
|
||||
"permissions": ["read(\"any\")"]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Client, Databases } from "appwrite";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setKey(''); //
|
||||
|
||||
const databases = new Databases(client);
|
||||
|
||||
const result = await databases.createDocuments(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<COLLECTION_ID>', // collectionId
|
||||
[] // documents
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Client, Databases } from "appwrite";
|
||||
|
||||
const client = new Client()
|
||||
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
|
||||
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
|
||||
|
||||
const databases = new Databases(client);
|
||||
|
||||
const result = await databases.upsertDocument(
|
||||
'<DATABASE_ID>', // databaseId
|
||||
'<COLLECTION_ID>', // collectionId
|
||||
'<DOCUMENT_ID>', // documentId
|
||||
{}, // data
|
||||
["read("any")"] // permissions (optional)
|
||||
);
|
||||
|
||||
console.log(result);
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account createAnonymousSession
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account createEmailPasswordSession \
|
||||
--email email@example.com \
|
||||
--password password
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite account createEmailToken \
|
||||
--userId <USER_ID> \
|
||||
--email email@example.com \
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account createJWT
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite account createMagicURLToken \
|
||||
--userId <USER_ID> \
|
||||
--email email@example.com \
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account createMfaAuthenticator \
|
||||
--type totp
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account createMfaChallenge \
|
||||
--factor email
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account createMfaRecoveryCodes
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite account createOAuth2Session \
|
||||
--provider amazon \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite account createOAuth2Token \
|
||||
--provider amazon \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account createPhoneToken \
|
||||
--userId <USER_ID> \
|
||||
--phone +12065550100
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account createPhoneVerification
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite account createPushTarget \
|
||||
--targetId <TARGET_ID> \
|
||||
--identifier <IDENTIFIER> \
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account createRecovery \
|
||||
--email email@example.com \
|
||||
--url https://example.com
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account createSession \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account createVerification \
|
||||
--url https://example.com
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite account create \
|
||||
--userId <USER_ID> \
|
||||
--email email@example.com \
|
||||
--password '' \
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account deleteIdentity \
|
||||
--identityId <IDENTITY_ID>
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account deleteMfaAuthenticator \
|
||||
--type totp
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account deletePushTarget \
|
||||
--targetId <TARGET_ID>
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account deleteSession \
|
||||
--sessionId <SESSION_ID>
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account deleteSessions
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account delete
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account getMfaRecoveryCodes
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account getPrefs
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account getSession \
|
||||
--sessionId <SESSION_ID>
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account get
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account listIdentities \
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account listLogs \
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account listMfaFactors
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account listSessions
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updateEmail \
|
||||
--email email@example.com \
|
||||
--password password
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account updateMFA \
|
||||
--mfa false
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updateMagicURLSession \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updateMfaAuthenticator \
|
||||
--type totp \
|
||||
--otp <OTP>
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updateMfaChallenge \
|
||||
--challengeId <CHALLENGE_ID> \
|
||||
--otp <OTP>
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account updateMfaRecoveryCodes
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account updateName \
|
||||
--name <NAME>
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updatePassword \
|
||||
--password '' \
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updatePhoneSession \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updatePhoneVerification \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updatePhone \
|
||||
--phone +12065550100 \
|
||||
--password password
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account updatePrefs \
|
||||
--prefs '{ "key": "value" }'
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updatePushTarget \
|
||||
--targetId <TARGET_ID> \
|
||||
--identifier <IDENTIFIER>
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite account updateRecovery \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET> \
|
||||
--password ''
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite account updateSession \
|
||||
--sessionId <SESSION_ID>
|
||||
@@ -0,0 +1 @@
|
||||
appwrite account updateStatus
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite account updateVerification \
|
||||
--userId <USER_ID> \
|
||||
--secret <SECRET>
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite assistant chat \
|
||||
--prompt <PROMPT>
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite avatars getBrowser \
|
||||
--code aa \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite avatars getCreditCard \
|
||||
--code amex \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
appwrite avatars getFavicon \
|
||||
--url https://example.com
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite avatars getFlag \
|
||||
--code af \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite avatars getImage \
|
||||
--url https://example.com \
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite avatars getInitials \
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
appwrite avatars getQR \
|
||||
--text <TEXT> \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite console getResource \
|
||||
--value <VALUE> \
|
||||
--type rules
|
||||
@@ -0,0 +1 @@
|
||||
appwrite console variables
|
||||
@@ -0,0 +1,7 @@
|
||||
appwrite databases createBooleanAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
appwrite databases createCollection \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--name <NAME> \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
appwrite databases createDatetimeAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
appwrite databases createDocument \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--documentId <DOCUMENT_ID> \
|
||||
--data '{ "key": "value" }' \
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite databases createDocuments \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--documents one two three
|
||||
@@ -0,0 +1,7 @@
|
||||
appwrite databases createEmailAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
appwrite databases createEnumAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--elements one two three \
|
||||
--required false \
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
appwrite databases createFloatAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
appwrite databases createIndex \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--type key \
|
||||
--attributes one two three \
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
appwrite databases createIntegerAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
appwrite databases createIpAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
appwrite databases createRelationshipAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--relatedCollectionId <RELATED_COLLECTION_ID> \
|
||||
--type oneToOne \
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
appwrite databases createStringAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--size 1 \
|
||||
--required false \
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
appwrite databases createUrlAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key '' \
|
||||
--required false \
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite databases create \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--name <NAME> \
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
appwrite databases deleteAttribute \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID> \
|
||||
--key ''
|
||||
@@ -0,0 +1,3 @@
|
||||
appwrite databases deleteCollection \
|
||||
--databaseId <DATABASE_ID> \
|
||||
--collectionId <COLLECTION_ID>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user