appwrite/docs/examples/1.8.x/server-graphql/examples/tablesdb/create-table.md

39 lines
699 B
Markdown
Raw Normal View History

```graphql
2025-08-20 07:22:48 +00:00
mutation {
2025-08-20 14:20:05 +00:00
tablesDBCreateTable(
2025-08-20 07:22:48 +00:00
databaseId: "<DATABASE_ID>",
tableId: "<TABLE_ID>",
name: "<NAME>",
permissions: ["read("any")"],
rowSecurity: false,
enabled: false,
columns: [],
indexes: []
2025-08-20 07:22:48 +00:00
) {
_id
_createdAt
_updatedAt
_permissions
databaseId
name
enabled
rowSecurity
columns
indexes {
_id
_createdAt
_updatedAt
key
type
status
error
columns
lengths
orders
}
bytesMax
bytesUsed
2025-08-20 07:22:48 +00:00
}
}
```