snowflake.snowpark.functions.object_insert¶
- snowflake.snowpark.functions.object_insert(obj: Union[Column, str], key: Union[Column, str], value: Union[Column, str], update_flag: Optional[Union[Column, str]] = None) Column[source]¶
Returns an object consisting of the input object with a new key-value pair inserted (or an existing key updated with a new value).
- Example::