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

snowflake.snowpark.functions.object_insert

snowflake.snowpark.functions.object_insert(obj: ColumnOrName, key: ColumnOrName, value: ColumnOrName, update_flag: ColumnOrName | None = None) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/functions.py#L2466-L2481)

Returns an object consisting of the input object with a new key-value pair inserted (or an existing key updated with a new value).