SqlScriptSaveOptions class

SqlScriptSaveOptions class

Represents the options of saving sql.

Inheritance: SqlScriptSaveOptionsSaveOptions

The SqlScriptSaveOptions type exposes the following members:

Constructors

ConstructorDescription
initCreates options for saving sql file.

Properties

PropertyDescription
save_formatGets the save file format.
clear_dataMake the workbook empty after saving the file.
cached_file_folderThe cached file folder is used to store some large data.
validate_merged_areasIndicates whether validate merged cells before saving the file.
merge_areasIndicates whether merge the areas of conditional formatting and validation before saving the file.
create_directoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
sort_namesIndicates whether sorting defined names before saving file.
sort_external_namesIndicates whether sorting external defined names before saving file.
refresh_chart_cacheIndicates whether refreshing chart cache data
warning_callbackGets or sets warning callback.
update_smart_artIndicates whether updating smart art setting.
The default value is false.
encrypt_document_propertiesIndicates whether encrypt document properties when saving as .xls file.
The default value is true.
check_if_table_existsCheck if the table name exists before creating
column_type_mapGets and sets the map of column type for different database.
check_all_data_for_column_typeCheck all data to find columns’ data type.
add_blank_line_between_rowsInsert blank line between each data.
separatorGets and sets character separator of sql script.
operator_typeGets and sets the operator type of sql.
primary_keyRepresents which column is primary key of the data table.
create_tableIndicates whether exporting sql of creating table.
id_nameGets and sets the name of id column.
start_idGets and sets the start id.
table_nameGets and sets the table name.
export_as_stringIndicates whether exporting all data as string value.
sheet_indexesRepresents the indexes of exported sheets.
export_areaGets or sets the exporting range.
has_header_rowIndicates whether the range contains header row.

See Also