Create up to 10 tables.
List of created tables
Response of a failed request
Validation Error
from cognite.client.data_classes.data_modeling import ViewId from cognite.client.data_classes.postgres_gateway import ViewTableWrite table = ViewTableWrite(tablename="myCustom", options=ViewId(space="mySpace", external_id="myExternalId", version="v1")) res = client.postgres_gateway.tables.create("myUserName",table)
{- "items": [
- {
- "columns": {
- "property1": {
- "type": "TEXT"
}, - "property2": {
- "type": "TEXT"
}
}, - "options": {
- "space": "string",
- "externalId": "string",
- "version": "string"
}, - "createdTime": 1730204346000,
- "type": "raw_rows",
- "tablename": "string"
}
]
}