Merge pull request #10333 from appwrite/feat-tablesdb

Feat tablesdb
This commit is contained in:
Jake Barnby 2025-08-20 02:38:00 +12:00 committed by GitHub
commit c88f1ed7ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
276 changed files with 62595 additions and 46716 deletions

View file

@ -146,7 +146,7 @@ jobs:
Avatars,
Console,
Databases/Legacy,
Databases/Grids,
Databases/TablesDB,
Functions,
FunctionsSchedule,
GraphQL,

View file

@ -56,7 +56,7 @@ return [
'type' => Database::VAR_STRING,
'size' => 128,
'required' => false,
'default' => 'grids',
'default' => 'tablesdb',
'signed' => true,
'array' => false,
'filters' => [],

View file

@ -66,15 +66,15 @@ return [
'optional' => true,
'icon' => '/images/services/databases.png',
],
'tables' => [
'key' => 'tables',
'name' => 'Tables',
'subtitle' => 'The Tables service allows you to create structured tables of rows, query and filter lists of rows',
'description' => '/docs/services/tables.md',
'tablesdb' => [
'key' => 'tablesdb',
'name' => 'TablesDB',
'subtitle' => 'The TablesDB service allows you to create structured tables of columns, query and filter lists of rows',
'description' => '/docs/services/tablesdb.md',
'controller' => '', // Uses modules
'sdk' => true,
'docs' => true,
'docsUrl' => 'https://appwrite.io/docs/client/tables',
'docsUrl' => 'https://appwrite.io/docs/client/tablesdb',
'tests' => false,
'optional' => true,
'icon' => '/images/services/databases.png',

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

View file

@ -57,7 +57,7 @@
"utopia-php/domains": "0.8.*",
"utopia-php/dns": "0.3.*",
"utopia-php/dsn": "0.2.1",
"utopia-php/framework": "0.33.*",
"utopia-php/framework": "0.33.20",
"utopia-php/fetch": "0.4.*",
"utopia-php/image": "0.8.*",
"utopia-php/locale": "0.8.*",

18
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "0da713ee5642eba1d30bc51c1a04a723",
"content-hash": "e8689d5f2082658847ddcb686d544842",
"packages": [
{
"name": "adhocore/jwt",
@ -4922,16 +4922,16 @@
"packages-dev": [
{
"name": "appwrite/sdk-generator",
"version": "0.41.29",
"version": "0.41.30",
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator.git",
"reference": "4af563f3b0879747efc8434eb8ed8bf97e75039f"
"reference": "14a6e52d0d1075d176f4c80cafde9afe506e7455"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/4af563f3b0879747efc8434eb8ed8bf97e75039f",
"reference": "4af563f3b0879747efc8434eb8ed8bf97e75039f",
"url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/14a6e52d0d1075d176f4c80cafde9afe506e7455",
"reference": "14a6e52d0d1075d176f4c80cafde9afe506e7455",
"shasum": ""
},
"require": {
@ -4967,9 +4967,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/0.41.29"
"source": "https://github.com/appwrite/sdk-generator/tree/0.41.30"
},
"time": "2025-08-04T04:34:45+00:00"
"time": "2025-08-18T01:39:09+00:00"
},
{
"name": "doctrine/annotations",
@ -8407,7 +8407,7 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
@ -8431,5 +8431,5 @@
"platform-overrides": {
"php": "8.3"
},
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}

View file

@ -1 +0,0 @@
Create a boolean column.

View file

@ -1 +0,0 @@
Create a date time column according to the ISO 8601 standard.

View file

@ -1 +0,0 @@
Create an email column.

View file

@ -1 +0,0 @@
Create an enumeration column. The `elements` param acts as a white-list of accepted values for this column.

View file

@ -1 +0,0 @@
Create a float column. Optionally, minimum and maximum values can be provided.

View file

@ -1 +0,0 @@
Create an integer column. Optionally, minimum and maximum values can be provided.

View file

@ -1 +0,0 @@
Create IP address column.

View file

@ -1 +0,0 @@
Create relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns).

View file

@ -1 +0,0 @@
Create a new Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console.

View file

@ -1 +0,0 @@
Create new Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console.

View file

@ -1 +0,0 @@
Create a string column.

View file

@ -1 +0,0 @@
Create a new Table. Before using this route, you should create a new database resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console.

View file

@ -1 +0,0 @@
Create a URL column.

View file

@ -1 +0,0 @@
Decrement a specific column of a row by a given value.

View file

@ -1 +0,0 @@
Deletes a column.

View file

@ -1 +0,0 @@
Delete a row by its unique ID.

View file

@ -1 +0,0 @@
Bulk delete rows using queries, if no queries are passed then all rows are deleted.

View file

@ -1 +0,0 @@
Delete a table by its unique ID. Only users with write permissions have access to delete this resource.

View file

@ -1 +0,0 @@
Get column by ID.

View file

@ -1 +0,0 @@
Get usage metrics and statistics for a database. You can view the total number of tables, rows, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.

View file

@ -1 +0,0 @@
Get the row activity logs list by its unique ID.

View file

@ -1 +0,0 @@
Get a row by its unique ID. This endpoint response returns a JSON object with the row data.

View file

@ -1 +0,0 @@
Get the table activity logs list by its unique ID.

View file

@ -1 +0,0 @@
Get usage metrics and statistics for a table. Returning the total number of rows. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.

View file

@ -1 +0,0 @@
Get a table by its unique ID. This endpoint response returns a JSON object with the table metadata.

View file

@ -1 +0,0 @@
Increment a specific column of a row by a given value.

View file

@ -1 +0,0 @@
List columns in the table.

View file

@ -1 +0,0 @@
List indexes in the table.

View file

@ -1 +0,0 @@
Get a list of all tables that belong to the provided databaseId. You can use the search parameter to filter your results.

View file

@ -1 +0,0 @@
Update a boolean column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update a date time column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update an email column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update an enum column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update a float column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update an integer column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update an ip column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update relationship column. [Learn more about relationship columns](https://appwrite.io/docs/databases-relationships#relationship-columns).

View file

@ -1 +0,0 @@
Update a row by its unique ID. Using the patch method you can pass only specific fields that will get updated.

View file

@ -1 +0,0 @@
Update all rows that match your queries, if no queries are submitted then all rows are updated. You can pass only specific fields to be updated.

View file

@ -1 +0,0 @@
Update a string column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Update a table by its unique ID.

View file

@ -1 +0,0 @@
Update an url column. Changing the `default` value will not update already existing rows.

View file

@ -1 +0,0 @@
Create or update a Row. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console.

View file

@ -1 +0,0 @@
Create or update Rows. Before using this route, you should create a new table resource using either a [server integration](https://appwrite.io/docs/server/databases#databasesCreateTable) API or directly from your database console.

View file

@ -1,2 +1,2 @@
Creates an index on the columns listed. Your index should include all the columns you will query in a single request.
Columns can be `key`, `fulltext`, and `unique`.
Attributes can be `key`, `fulltext`, and `unique`.

View file

@ -0,0 +1 @@
Get usage metrics and statistics for a database. You can view the total number of collections, documents, and storage usage. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.

View file

@ -0,0 +1 @@
Get a database by its unique ID. This endpoint response returns a JSON object with the database metadata.

View file

@ -0,0 +1 @@
List indexes in the collection.

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