Create new tables in a database
- async AsyncCogniteClient.raw.tables.create(
- db_name: str,
- name: str | list[str],
-
- Parameters:
db_name (str) – Database to create the tables in.
name (str | list[str]) – A table name or list of table names to create.
- Returns:
raw.Table or list of tables that has been created.
- Return type:
Examples
Create a new table in a database:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> res = client.raw.tables.create("db1", "table1")