snowflake.snowpark.Session.get_current_database

Session.get_current_database() Optional[str][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/session.py#L3524-L3529)

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

Language: English