You are viewing documentation about an older version (1.13.0). View latest version

snowflake.snowpark.Session.get_current_database

Session.get_current_database() Optional[str][source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.13.0/src/snowflake/snowpark/session.py#L2577-L2582)

Returns the name of the current database for the Python connector session attached to this session. See the example in table().

Language: English