UNDROP STREAMLIT¶
Restores the most recent version of a dropped Streamlit object.
- See also:
CREATE STREAMLIT , ALTER STREAMLIT , DROP STREAMLIT , SHOW STREAMLITS , DESCRIBE STREAMLIT
Syntax¶
UNDROP STREAMLIT <name>
Parameters¶
name
Specifies the identifier for the Streamlit object to restore.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see Identifier requirements.
Usage notes¶
Streamlit object can only be restored to the database and schema that contained the Streamlit object at the time of deletion.
If a Streamlit with the same name already exists, an error is returned.
UNDROP relies on the Snowflake Time Travel feature. An object can be restored only if the object was deleted within the Data retention period. The default value is 24 hours.
Example¶
The following example restores the most recent version of a dropped Streamlit named hello_streamlit
:
UNDROP STREAMLIT hello_streamlit;