Drop Column

Deletes a column from the table.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMySqlConnectionSettings

✅Yes

Contains the MySql database connection information.

TableName

String

✅Yes

Table name

ColumnName

String

✅Yes

Column name


➡️OUTPUT

Parameter

Type

Description

IsDropColumnSuccessful

Boolean

Returns "True" if the operation succeeds, "False" if it fails.

DropColumnMessage

String

Returns the error information received if the operation fails.


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Specifies whether an exception is thrown when the operation fails. The default value is "No".