MySql To Datatable

Retrieves the data of the named table from the connected MySql database and holds it in the Collection data type.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMySqlConnectionSettings

✅Yes

Contains the MySql database connection information.

TableName

String

✅Yes

Table name

Filter

String

❌No

WHERE condition

ColumnNames

String

❌No

Comma-separated column list


➡️OUTPUT

Parameter

Type

Description

IsMySqlToDataTableSuccessful

Boolean

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

MySqlToDataTableMessage

String

Returns the error information received if the operation fails.

MySqlToDataTable Result

DataTable

Collection data produced as a result of the operation.


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

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