appwrite-cli 6.0.0-rc.4 → 6.0.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/client.js +2 -2
- package/lib/commands/account.js +65 -65
- package/lib/commands/avatars.js +9 -9
- package/lib/commands/databases.js +140 -140
- package/lib/commands/functions.js +69 -69
- package/lib/commands/generic.js +4 -3
- package/lib/commands/health.js +22 -22
- package/lib/commands/init.js +4 -3
- package/lib/commands/locale.js +7 -7
- package/lib/commands/messaging.js +160 -160
- package/lib/commands/migrations.js +28 -28
- package/lib/commands/project.js +11 -11
- package/lib/commands/projects.js +122 -122
- package/lib/commands/proxy.js +10 -10
- package/lib/commands/pull.js +4 -4
- package/lib/commands/push.js +310 -98
- package/lib/commands/run.js +48 -8
- package/lib/commands/storage.js +44 -44
- package/lib/commands/teams.js +29 -29
- package/lib/commands/users.js +99 -99
- package/lib/commands/vcs.js +27 -27
- package/lib/config.js +22 -10
- package/lib/emulation/docker.js +78 -5
- package/lib/parser.js +3 -14
- package/lib/questions.js +16 -20
- package/lib/spinner.js +1 -0
- package/package.json +1 -1
- package/scoop/appwrite.json +3 -3
|
@@ -2123,13 +2123,13 @@ databases
|
|
|
2123
2123
|
databases
|
|
2124
2124
|
.command(`create`)
|
|
2125
2125
|
.description(`Create a new Database. `)
|
|
2126
|
-
.requiredOption(`--
|
|
2126
|
+
.requiredOption(`--database-id <database-id>`, `Unique Id. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
|
|
2127
2127
|
.requiredOption(`--name <name>`, `Database name. Max length: 128 chars.`)
|
|
2128
2128
|
.option(`--enabled <enabled>`, `Is the database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.`, parseBool)
|
|
2129
2129
|
.action(actionRunner(databasesCreate))
|
|
2130
2130
|
|
|
2131
2131
|
databases
|
|
2132
|
-
.command(`
|
|
2132
|
+
.command(`get-usage`)
|
|
2133
2133
|
.description(``)
|
|
2134
2134
|
.option(`--range <range>`, `'Date range.`)
|
|
2135
2135
|
.action(actionRunner(databasesGetUsage))
|
|
@@ -2137,14 +2137,14 @@ databases
|
|
|
2137
2137
|
databases
|
|
2138
2138
|
.command(`get`)
|
|
2139
2139
|
.description(`Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.`)
|
|
2140
|
-
.requiredOption(`--
|
|
2140
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2141
2141
|
.option(`--console`, `Get the resource console url`)
|
|
2142
2142
|
.action(actionRunner(databasesGet))
|
|
2143
2143
|
|
|
2144
2144
|
databases
|
|
2145
2145
|
.command(`update`)
|
|
2146
2146
|
.description(`Update a database by its unique ID.`)
|
|
2147
|
-
.requiredOption(`--
|
|
2147
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2148
2148
|
.requiredOption(`--name <name>`, `Database name. Max length: 128 chars.`)
|
|
2149
2149
|
.option(`--enabled <enabled>`, `Is database enabled? When set to 'disabled', users cannot access the database but Server SDKs with an API key can still read and write to the database. No data is lost when this is toggled.`, parseBool)
|
|
2150
2150
|
.action(actionRunner(databasesUpdate))
|
|
@@ -2152,69 +2152,69 @@ databases
|
|
|
2152
2152
|
databases
|
|
2153
2153
|
.command(`delete`)
|
|
2154
2154
|
.description(`Delete a database by its unique ID. Only API keys with with databases.write scope can delete a database.`)
|
|
2155
|
-
.requiredOption(`--
|
|
2155
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2156
2156
|
.action(actionRunner(databasesDelete))
|
|
2157
2157
|
|
|
2158
2158
|
databases
|
|
2159
|
-
.command(`
|
|
2159
|
+
.command(`list-collections`)
|
|
2160
2160
|
.description(`Get a list of all collections that belong to the provided databaseId. You can use the search parameter to filter your results.`)
|
|
2161
|
-
.requiredOption(`--
|
|
2161
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2162
2162
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: name, enabled, documentSecurity`)
|
|
2163
2163
|
.option(`--search <search>`, `Search term to filter your list results. Max length: 256 chars.`)
|
|
2164
2164
|
.option(`--console`, `Get the resource console url`)
|
|
2165
2165
|
.action(actionRunner(databasesListCollections))
|
|
2166
2166
|
|
|
2167
2167
|
databases
|
|
2168
|
-
.command(`
|
|
2168
|
+
.command(`create-collection`)
|
|
2169
2169
|
.description(`Create a new Collection. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.`)
|
|
2170
|
-
.requiredOption(`--
|
|
2171
|
-
.requiredOption(`--
|
|
2170
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2171
|
+
.requiredOption(`--collection-id <collection-id>`, `Unique Id. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
|
|
2172
2172
|
.requiredOption(`--name <name>`, `Collection name. Max length: 128 chars.`)
|
|
2173
2173
|
.option(`--permissions [permissions...]`, `An array of permissions strings. By default, no user is granted with any permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).`)
|
|
2174
|
-
.option(`--
|
|
2174
|
+
.option(`--document-security <document-security>`, `Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https://appwrite.io/docs/permissions).`, parseBool)
|
|
2175
2175
|
.option(`--enabled <enabled>`, `Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.`, parseBool)
|
|
2176
2176
|
.action(actionRunner(databasesCreateCollection))
|
|
2177
2177
|
|
|
2178
2178
|
databases
|
|
2179
|
-
.command(`
|
|
2179
|
+
.command(`get-collection`)
|
|
2180
2180
|
.description(`Get a collection by its unique ID. This endpoint response returns a JSON object with the collection metadata.`)
|
|
2181
|
-
.requiredOption(`--
|
|
2182
|
-
.requiredOption(`--
|
|
2181
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2182
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2183
2183
|
.option(`--console`, `Get the resource console url`)
|
|
2184
2184
|
.action(actionRunner(databasesGetCollection))
|
|
2185
2185
|
|
|
2186
2186
|
databases
|
|
2187
|
-
.command(`
|
|
2187
|
+
.command(`update-collection`)
|
|
2188
2188
|
.description(`Update a collection by its unique ID.`)
|
|
2189
|
-
.requiredOption(`--
|
|
2190
|
-
.requiredOption(`--
|
|
2189
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2190
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2191
2191
|
.requiredOption(`--name <name>`, `Collection name. Max length: 128 chars.`)
|
|
2192
2192
|
.option(`--permissions [permissions...]`, `An array of permission strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).`)
|
|
2193
|
-
.option(`--
|
|
2193
|
+
.option(`--document-security <document-security>`, `Enables configuring permissions for individual documents. A user needs one of document or collection level permissions to access a document. [Learn more about permissions](https://appwrite.io/docs/permissions).`, parseBool)
|
|
2194
2194
|
.option(`--enabled <enabled>`, `Is collection enabled? When set to 'disabled', users cannot access the collection but Server SDKs with and API key can still read and write to the collection. No data is lost when this is toggled.`, parseBool)
|
|
2195
2195
|
.action(actionRunner(databasesUpdateCollection))
|
|
2196
2196
|
|
|
2197
2197
|
databases
|
|
2198
|
-
.command(`
|
|
2198
|
+
.command(`delete-collection`)
|
|
2199
2199
|
.description(`Delete a collection by its unique ID. Only users with write permissions have access to delete this resource.`)
|
|
2200
|
-
.requiredOption(`--
|
|
2201
|
-
.requiredOption(`--
|
|
2200
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2201
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2202
2202
|
.action(actionRunner(databasesDeleteCollection))
|
|
2203
2203
|
|
|
2204
2204
|
databases
|
|
2205
|
-
.command(`
|
|
2205
|
+
.command(`list-attributes`)
|
|
2206
2206
|
.description(`List attributes in the collection.`)
|
|
2207
|
-
.requiredOption(`--
|
|
2208
|
-
.requiredOption(`--
|
|
2207
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2208
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2209
2209
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, size, required, array, status, error`)
|
|
2210
2210
|
.option(`--console`, `Get the resource console url`)
|
|
2211
2211
|
.action(actionRunner(databasesListAttributes))
|
|
2212
2212
|
|
|
2213
2213
|
databases
|
|
2214
|
-
.command(`
|
|
2214
|
+
.command(`create-boolean-attribute`)
|
|
2215
2215
|
.description(`Create a boolean attribute. `)
|
|
2216
|
-
.requiredOption(`--
|
|
2217
|
-
.requiredOption(`--
|
|
2216
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2217
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2218
2218
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2219
2219
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2220
2220
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`, parseBool)
|
|
@@ -2222,20 +2222,20 @@ databases
|
|
|
2222
2222
|
.action(actionRunner(databasesCreateBooleanAttribute))
|
|
2223
2223
|
|
|
2224
2224
|
databases
|
|
2225
|
-
.command(`
|
|
2225
|
+
.command(`update-boolean-attribute`)
|
|
2226
2226
|
.description(`Update a boolean attribute. Changing the 'default' value will not update already existing documents.`)
|
|
2227
|
-
.requiredOption(`--
|
|
2228
|
-
.requiredOption(`--
|
|
2227
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2228
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2229
2229
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2230
2230
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2231
2231
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`, parseBool)
|
|
2232
2232
|
.action(actionRunner(databasesUpdateBooleanAttribute))
|
|
2233
2233
|
|
|
2234
2234
|
databases
|
|
2235
|
-
.command(`
|
|
2235
|
+
.command(`create-datetime-attribute`)
|
|
2236
2236
|
.description(`Create a date time attribute according to the ISO 8601 standard.`)
|
|
2237
|
-
.requiredOption(`--
|
|
2238
|
-
.requiredOption(`--
|
|
2237
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2238
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2239
2239
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2240
2240
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2241
2241
|
.option(`--xdefault <xdefault>`, `Default value for the attribute in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Cannot be set when attribute is required.`)
|
|
@@ -2243,20 +2243,20 @@ databases
|
|
|
2243
2243
|
.action(actionRunner(databasesCreateDatetimeAttribute))
|
|
2244
2244
|
|
|
2245
2245
|
databases
|
|
2246
|
-
.command(`
|
|
2246
|
+
.command(`update-datetime-attribute`)
|
|
2247
2247
|
.description(`Update a date time attribute. Changing the 'default' value will not update already existing documents.`)
|
|
2248
|
-
.requiredOption(`--
|
|
2249
|
-
.requiredOption(`--
|
|
2248
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2249
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2250
2250
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2251
2251
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2252
2252
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
2253
2253
|
.action(actionRunner(databasesUpdateDatetimeAttribute))
|
|
2254
2254
|
|
|
2255
2255
|
databases
|
|
2256
|
-
.command(`
|
|
2256
|
+
.command(`create-email-attribute`)
|
|
2257
2257
|
.description(`Create an email attribute. `)
|
|
2258
|
-
.requiredOption(`--
|
|
2259
|
-
.requiredOption(`--
|
|
2258
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2259
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2260
2260
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2261
2261
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2262
2262
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
@@ -2264,20 +2264,20 @@ databases
|
|
|
2264
2264
|
.action(actionRunner(databasesCreateEmailAttribute))
|
|
2265
2265
|
|
|
2266
2266
|
databases
|
|
2267
|
-
.command(`
|
|
2267
|
+
.command(`update-email-attribute`)
|
|
2268
2268
|
.description(`Update an email attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2269
|
-
.requiredOption(`--
|
|
2270
|
-
.requiredOption(`--
|
|
2269
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2270
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2271
2271
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2272
2272
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2273
2273
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
2274
2274
|
.action(actionRunner(databasesUpdateEmailAttribute))
|
|
2275
2275
|
|
|
2276
2276
|
databases
|
|
2277
|
-
.command(`
|
|
2277
|
+
.command(`create-enum-attribute`)
|
|
2278
2278
|
.description(`Create an enumeration attribute. The 'elements' param acts as a white-list of accepted values for this attribute. `)
|
|
2279
|
-
.requiredOption(`--
|
|
2280
|
-
.requiredOption(`--
|
|
2279
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2280
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2281
2281
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2282
2282
|
.requiredOption(`--elements [elements...]`, `Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.`)
|
|
2283
2283
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
@@ -2286,10 +2286,10 @@ databases
|
|
|
2286
2286
|
.action(actionRunner(databasesCreateEnumAttribute))
|
|
2287
2287
|
|
|
2288
2288
|
databases
|
|
2289
|
-
.command(`
|
|
2289
|
+
.command(`update-enum-attribute`)
|
|
2290
2290
|
.description(`Update an enum attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2291
|
-
.requiredOption(`--
|
|
2292
|
-
.requiredOption(`--
|
|
2291
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2292
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2293
2293
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2294
2294
|
.requiredOption(`--elements [elements...]`, `Array of elements in enumerated type. Uses length of longest element to determine size. Maximum of 100 elements are allowed, each 255 characters long.`)
|
|
2295
2295
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
@@ -2297,10 +2297,10 @@ databases
|
|
|
2297
2297
|
.action(actionRunner(databasesUpdateEnumAttribute))
|
|
2298
2298
|
|
|
2299
2299
|
databases
|
|
2300
|
-
.command(`
|
|
2300
|
+
.command(`create-float-attribute`)
|
|
2301
2301
|
.description(`Create a float attribute. Optionally, minimum and maximum values can be provided. `)
|
|
2302
|
-
.requiredOption(`--
|
|
2303
|
-
.requiredOption(`--
|
|
2302
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2303
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2304
2304
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2305
2305
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2306
2306
|
.option(`--min <min>`, `Minimum value to enforce on new documents`, parseInteger)
|
|
@@ -2310,10 +2310,10 @@ databases
|
|
|
2310
2310
|
.action(actionRunner(databasesCreateFloatAttribute))
|
|
2311
2311
|
|
|
2312
2312
|
databases
|
|
2313
|
-
.command(`
|
|
2313
|
+
.command(`update-float-attribute`)
|
|
2314
2314
|
.description(`Update a float attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2315
|
-
.requiredOption(`--
|
|
2316
|
-
.requiredOption(`--
|
|
2315
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2316
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2317
2317
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2318
2318
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2319
2319
|
.requiredOption(`--min <min>`, `Minimum value to enforce on new documents`, parseInteger)
|
|
@@ -2322,10 +2322,10 @@ databases
|
|
|
2322
2322
|
.action(actionRunner(databasesUpdateFloatAttribute))
|
|
2323
2323
|
|
|
2324
2324
|
databases
|
|
2325
|
-
.command(`
|
|
2325
|
+
.command(`create-integer-attribute`)
|
|
2326
2326
|
.description(`Create an integer attribute. Optionally, minimum and maximum values can be provided. `)
|
|
2327
|
-
.requiredOption(`--
|
|
2328
|
-
.requiredOption(`--
|
|
2327
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2328
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2329
2329
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2330
2330
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2331
2331
|
.option(`--min <min>`, `Minimum value to enforce on new documents`, parseInteger)
|
|
@@ -2335,10 +2335,10 @@ databases
|
|
|
2335
2335
|
.action(actionRunner(databasesCreateIntegerAttribute))
|
|
2336
2336
|
|
|
2337
2337
|
databases
|
|
2338
|
-
.command(`
|
|
2338
|
+
.command(`update-integer-attribute`)
|
|
2339
2339
|
.description(`Update an integer attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2340
|
-
.requiredOption(`--
|
|
2341
|
-
.requiredOption(`--
|
|
2340
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2341
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2342
2342
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2343
2343
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2344
2344
|
.requiredOption(`--min <min>`, `Minimum value to enforce on new documents`, parseInteger)
|
|
@@ -2347,10 +2347,10 @@ databases
|
|
|
2347
2347
|
.action(actionRunner(databasesUpdateIntegerAttribute))
|
|
2348
2348
|
|
|
2349
2349
|
databases
|
|
2350
|
-
.command(`
|
|
2350
|
+
.command(`create-ip-attribute`)
|
|
2351
2351
|
.description(`Create IP address attribute. `)
|
|
2352
|
-
.requiredOption(`--
|
|
2353
|
-
.requiredOption(`--
|
|
2352
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2353
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2354
2354
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2355
2355
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2356
2356
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
@@ -2358,33 +2358,33 @@ databases
|
|
|
2358
2358
|
.action(actionRunner(databasesCreateIpAttribute))
|
|
2359
2359
|
|
|
2360
2360
|
databases
|
|
2361
|
-
.command(`
|
|
2361
|
+
.command(`update-ip-attribute`)
|
|
2362
2362
|
.description(`Update an ip attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2363
|
-
.requiredOption(`--
|
|
2364
|
-
.requiredOption(`--
|
|
2363
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2364
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2365
2365
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2366
2366
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2367
2367
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
2368
2368
|
.action(actionRunner(databasesUpdateIpAttribute))
|
|
2369
2369
|
|
|
2370
2370
|
databases
|
|
2371
|
-
.command(`
|
|
2371
|
+
.command(`create-relationship-attribute`)
|
|
2372
2372
|
.description(`Create relationship attribute. [Learn more about relationship attributes](https://appwrite.io/docs/databases-relationships#relationship-attributes). `)
|
|
2373
|
-
.requiredOption(`--
|
|
2374
|
-
.requiredOption(`--
|
|
2375
|
-
.requiredOption(`--
|
|
2373
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2374
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2375
|
+
.requiredOption(`--related-collection-id <related-collection-id>`, `Related Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2376
2376
|
.requiredOption(`--type <type>`, `Relation type`)
|
|
2377
|
-
.option(`--
|
|
2377
|
+
.option(`--two-way <two-way>`, `Is Two Way?`, parseBool)
|
|
2378
2378
|
.option(`--key <key>`, `Attribute Key.`)
|
|
2379
|
-
.option(`--
|
|
2380
|
-
.option(`--
|
|
2379
|
+
.option(`--two-way-key <two-way-key>`, `Two Way Attribute Key.`)
|
|
2380
|
+
.option(`--on-delete <on-delete>`, `Constraints option`)
|
|
2381
2381
|
.action(actionRunner(databasesCreateRelationshipAttribute))
|
|
2382
2382
|
|
|
2383
2383
|
databases
|
|
2384
|
-
.command(`
|
|
2384
|
+
.command(`create-string-attribute`)
|
|
2385
2385
|
.description(`Create a string attribute. `)
|
|
2386
|
-
.requiredOption(`--
|
|
2387
|
-
.requiredOption(`--
|
|
2386
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2387
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2388
2388
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2389
2389
|
.requiredOption(`--size <size>`, `Attribute size for text attributes, in number of characters.`, parseInteger)
|
|
2390
2390
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
@@ -2394,20 +2394,20 @@ databases
|
|
|
2394
2394
|
.action(actionRunner(databasesCreateStringAttribute))
|
|
2395
2395
|
|
|
2396
2396
|
databases
|
|
2397
|
-
.command(`
|
|
2397
|
+
.command(`update-string-attribute`)
|
|
2398
2398
|
.description(`Update a string attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2399
|
-
.requiredOption(`--
|
|
2400
|
-
.requiredOption(`--
|
|
2399
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2400
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2401
2401
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2402
2402
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2403
2403
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
2404
2404
|
.action(actionRunner(databasesUpdateStringAttribute))
|
|
2405
2405
|
|
|
2406
2406
|
databases
|
|
2407
|
-
.command(`
|
|
2407
|
+
.command(`create-url-attribute`)
|
|
2408
2408
|
.description(`Create a URL attribute. `)
|
|
2409
|
-
.requiredOption(`--
|
|
2410
|
-
.requiredOption(`--
|
|
2409
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2410
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2411
2411
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2412
2412
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2413
2413
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
@@ -2415,110 +2415,110 @@ databases
|
|
|
2415
2415
|
.action(actionRunner(databasesCreateUrlAttribute))
|
|
2416
2416
|
|
|
2417
2417
|
databases
|
|
2418
|
-
.command(`
|
|
2418
|
+
.command(`update-url-attribute`)
|
|
2419
2419
|
.description(`Update an url attribute. Changing the 'default' value will not update already existing documents. `)
|
|
2420
|
-
.requiredOption(`--
|
|
2421
|
-
.requiredOption(`--
|
|
2420
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2421
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2422
2422
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2423
2423
|
.requiredOption(`--required <required>`, `Is attribute required?`, parseBool)
|
|
2424
2424
|
.option(`--xdefault <xdefault>`, `Default value for attribute when not provided. Cannot be set when attribute is required.`)
|
|
2425
2425
|
.action(actionRunner(databasesUpdateUrlAttribute))
|
|
2426
2426
|
|
|
2427
2427
|
databases
|
|
2428
|
-
.command(`
|
|
2428
|
+
.command(`get-attribute`)
|
|
2429
2429
|
.description(`Get attribute by ID.`)
|
|
2430
|
-
.requiredOption(`--
|
|
2431
|
-
.requiredOption(`--
|
|
2430
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2431
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2432
2432
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2433
2433
|
.action(actionRunner(databasesGetAttribute))
|
|
2434
2434
|
|
|
2435
2435
|
databases
|
|
2436
|
-
.command(`
|
|
2436
|
+
.command(`delete-attribute`)
|
|
2437
2437
|
.description(`Deletes an attribute.`)
|
|
2438
|
-
.requiredOption(`--
|
|
2439
|
-
.requiredOption(`--
|
|
2438
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2439
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2440
2440
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2441
2441
|
.action(actionRunner(databasesDeleteAttribute))
|
|
2442
2442
|
|
|
2443
2443
|
databases
|
|
2444
|
-
.command(`
|
|
2444
|
+
.command(`update-relationship-attribute`)
|
|
2445
2445
|
.description(`Update relationship attribute. [Learn more about relationship attributes](https://appwrite.io/docs/databases-relationships#relationship-attributes). `)
|
|
2446
|
-
.requiredOption(`--
|
|
2447
|
-
.requiredOption(`--
|
|
2446
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2447
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2448
2448
|
.requiredOption(`--key <key>`, `Attribute Key.`)
|
|
2449
|
-
.option(`--
|
|
2449
|
+
.option(`--on-delete <on-delete>`, `Constraints option`)
|
|
2450
2450
|
.action(actionRunner(databasesUpdateRelationshipAttribute))
|
|
2451
2451
|
|
|
2452
2452
|
databases
|
|
2453
|
-
.command(`
|
|
2453
|
+
.command(`list-documents`)
|
|
2454
2454
|
.description(`Get a list of all the user's documents in a given collection. You can use the query params to filter your results.`)
|
|
2455
|
-
.requiredOption(`--
|
|
2456
|
-
.requiredOption(`--
|
|
2455
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2456
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2457
2457
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.`)
|
|
2458
2458
|
.option(`--console`, `Get the resource console url`)
|
|
2459
2459
|
.action(actionRunner(databasesListDocuments))
|
|
2460
2460
|
|
|
2461
2461
|
databases
|
|
2462
|
-
.command(`
|
|
2462
|
+
.command(`create-document`)
|
|
2463
2463
|
.description(`Create a new Document. Before using this route, you should create a new collection resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection) API or directly from your database console.`)
|
|
2464
|
-
.requiredOption(`--
|
|
2465
|
-
.requiredOption(`--
|
|
2466
|
-
.requiredOption(`--
|
|
2464
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2465
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). Make sure to define attributes before creating documents.`)
|
|
2466
|
+
.requiredOption(`--document-id <document-id>`, `Document ID. Choose a custom ID or generate a random ID with 'ID.unique()'. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.`)
|
|
2467
2467
|
.requiredOption(`--data <data>`, `Document data as JSON object.`)
|
|
2468
2468
|
.option(`--permissions [permissions...]`, `An array of permissions strings. By default, only the current user is granted all permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).`)
|
|
2469
2469
|
.action(actionRunner(databasesCreateDocument))
|
|
2470
2470
|
|
|
2471
2471
|
databases
|
|
2472
|
-
.command(`
|
|
2472
|
+
.command(`get-document`)
|
|
2473
2473
|
.description(`Get a document by its unique ID. This endpoint response returns a JSON object with the document data.`)
|
|
2474
|
-
.requiredOption(`--
|
|
2475
|
-
.requiredOption(`--
|
|
2476
|
-
.requiredOption(`--
|
|
2474
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2475
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2476
|
+
.requiredOption(`--document-id <document-id>`, `Document ID.`)
|
|
2477
2477
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long.`)
|
|
2478
2478
|
.option(`--console`, `Get the resource console url`)
|
|
2479
2479
|
.action(actionRunner(databasesGetDocument))
|
|
2480
2480
|
|
|
2481
2481
|
databases
|
|
2482
|
-
.command(`
|
|
2482
|
+
.command(`update-document`)
|
|
2483
2483
|
.description(`Update a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.`)
|
|
2484
|
-
.requiredOption(`--
|
|
2485
|
-
.requiredOption(`--
|
|
2486
|
-
.requiredOption(`--
|
|
2484
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2485
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2486
|
+
.requiredOption(`--document-id <document-id>`, `Document ID.`)
|
|
2487
2487
|
.option(`--data <data>`, `Document data as JSON object. Include only attribute and value pairs to be updated.`)
|
|
2488
2488
|
.option(`--permissions [permissions...]`, `An array of permissions strings. By default, the current permissions are inherited. [Learn more about permissions](https://appwrite.io/docs/permissions).`)
|
|
2489
2489
|
.action(actionRunner(databasesUpdateDocument))
|
|
2490
2490
|
|
|
2491
2491
|
databases
|
|
2492
|
-
.command(`
|
|
2492
|
+
.command(`delete-document`)
|
|
2493
2493
|
.description(`Delete a document by its unique ID.`)
|
|
2494
|
-
.requiredOption(`--
|
|
2495
|
-
.requiredOption(`--
|
|
2496
|
-
.requiredOption(`--
|
|
2494
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2495
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2496
|
+
.requiredOption(`--document-id <document-id>`, `Document ID.`)
|
|
2497
2497
|
.action(actionRunner(databasesDeleteDocument))
|
|
2498
2498
|
|
|
2499
2499
|
databases
|
|
2500
|
-
.command(`
|
|
2500
|
+
.command(`list-document-logs`)
|
|
2501
2501
|
.description(`Get the document activity logs list by its unique ID.`)
|
|
2502
|
-
.requiredOption(`--
|
|
2503
|
-
.requiredOption(`--
|
|
2504
|
-
.requiredOption(`--
|
|
2502
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2503
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2504
|
+
.requiredOption(`--document-id <document-id>`, `Document ID.`)
|
|
2505
2505
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
|
|
2506
2506
|
.action(actionRunner(databasesListDocumentLogs))
|
|
2507
2507
|
|
|
2508
2508
|
databases
|
|
2509
|
-
.command(`
|
|
2509
|
+
.command(`list-indexes`)
|
|
2510
2510
|
.description(`List indexes in the collection.`)
|
|
2511
|
-
.requiredOption(`--
|
|
2512
|
-
.requiredOption(`--
|
|
2511
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2512
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2513
2513
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter on the following attributes: key, type, status, attributes, error`)
|
|
2514
2514
|
.option(`--console`, `Get the resource console url`)
|
|
2515
2515
|
.action(actionRunner(databasesListIndexes))
|
|
2516
2516
|
|
|
2517
2517
|
databases
|
|
2518
|
-
.command(`
|
|
2518
|
+
.command(`create-index`)
|
|
2519
2519
|
.description(`Creates an index on the attributes listed. Your index should include all the attributes you will query in a single request. Attributes can be 'key', 'fulltext', and 'unique'.`)
|
|
2520
|
-
.requiredOption(`--
|
|
2521
|
-
.requiredOption(`--
|
|
2520
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2521
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2522
2522
|
.requiredOption(`--key <key>`, `Index Key.`)
|
|
2523
2523
|
.requiredOption(`--type <type>`, `Index type.`)
|
|
2524
2524
|
.requiredOption(`--attributes [attributes...]`, `Array of attributes to index. Maximum of 100 attributes are allowed, each 32 characters long.`)
|
|
@@ -2526,48 +2526,48 @@ databases
|
|
|
2526
2526
|
.action(actionRunner(databasesCreateIndex))
|
|
2527
2527
|
|
|
2528
2528
|
databases
|
|
2529
|
-
.command(`
|
|
2529
|
+
.command(`get-index`)
|
|
2530
2530
|
.description(`Get index by ID.`)
|
|
2531
|
-
.requiredOption(`--
|
|
2532
|
-
.requiredOption(`--
|
|
2531
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2532
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2533
2533
|
.requiredOption(`--key <key>`, `Index Key.`)
|
|
2534
2534
|
.action(actionRunner(databasesGetIndex))
|
|
2535
2535
|
|
|
2536
2536
|
databases
|
|
2537
|
-
.command(`
|
|
2537
|
+
.command(`delete-index`)
|
|
2538
2538
|
.description(`Delete an index.`)
|
|
2539
|
-
.requiredOption(`--
|
|
2540
|
-
.requiredOption(`--
|
|
2539
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2540
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).`)
|
|
2541
2541
|
.requiredOption(`--key <key>`, `Index Key.`)
|
|
2542
2542
|
.action(actionRunner(databasesDeleteIndex))
|
|
2543
2543
|
|
|
2544
2544
|
databases
|
|
2545
|
-
.command(`
|
|
2545
|
+
.command(`list-collection-logs`)
|
|
2546
2546
|
.description(`Get the collection activity logs list by its unique ID.`)
|
|
2547
|
-
.requiredOption(`--
|
|
2548
|
-
.requiredOption(`--
|
|
2547
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2548
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2549
2549
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
|
|
2550
2550
|
.action(actionRunner(databasesListCollectionLogs))
|
|
2551
2551
|
|
|
2552
2552
|
databases
|
|
2553
|
-
.command(`
|
|
2553
|
+
.command(`get-collection-usage`)
|
|
2554
2554
|
.description(``)
|
|
2555
|
-
.requiredOption(`--
|
|
2556
|
-
.requiredOption(`--
|
|
2555
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2556
|
+
.requiredOption(`--collection-id <collection-id>`, `Collection ID.`)
|
|
2557
2557
|
.option(`--range <range>`, `Date range.`)
|
|
2558
2558
|
.action(actionRunner(databasesGetCollectionUsage))
|
|
2559
2559
|
|
|
2560
2560
|
databases
|
|
2561
|
-
.command(`
|
|
2561
|
+
.command(`list-logs`)
|
|
2562
2562
|
.description(`Get the database activity logs list by its unique ID.`)
|
|
2563
|
-
.requiredOption(`--
|
|
2563
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2564
2564
|
.option(`--queries [queries...]`, `Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit and offset`)
|
|
2565
2565
|
.action(actionRunner(databasesListLogs))
|
|
2566
2566
|
|
|
2567
2567
|
databases
|
|
2568
|
-
.command(`
|
|
2568
|
+
.command(`get-database-usage`)
|
|
2569
2569
|
.description(``)
|
|
2570
|
-
.requiredOption(`--
|
|
2570
|
+
.requiredOption(`--database-id <database-id>`, `Database ID.`)
|
|
2571
2571
|
.option(`--range <range>`, `'Date range.`)
|
|
2572
2572
|
.option(`--console`, `Get the resource console url`)
|
|
2573
2573
|
.action(actionRunner(databasesGetDatabaseUsage))
|