SaveMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SaveMode is used to specify the expected behavior of saving a DataFrame to a data source.
public enum SaveMode
type SaveMode =
Public Enum SaveMode
- Inheritance
-
SaveMode
Fields
Name | Value | Description |
---|---|---|
Append | 0 | Append mode means that when saving a DataFrame to a data source, if data/table already exists, contents of the DataFrame are expected to be appended to existing data. |
Overwrite | 1 | Overwrite mode means that when saving a DataFrame to a data source, if data/table already exists, existing data is expected to be overwritten by the contents of the DataFrame. |
ErrorIfExists | 2 | ErrorIfExists mode means that when saving a DataFrame to a data source, if data already exists, an exception is expected to be thrown. |
Ignore | 3 | Ignore mode means that when saving a DataFrame to a data source, if data already exists, the save operation is expected to not save the contents of the DataFrame and to not change the existing data. |