Complex MySql To Datatable

Runs a complex SQL query and returns the result as a DataTable.


⬅️INPUT

Parameter

Type

Required

Description

ConnectionSettings

PAWMySqlConnectionSettings

✅Yes

Contains the MySql database connection information.

Query

String

✅Yes

Desired query statement


➡️OUTPUT

Parameter

Type

Description

IsComplexMySqlToDataTableSuccessful

Boolean

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

ComplexMySqlToDataTableMessage

String

Returns the error information received if the operation fails.

ComplexMySqlToDataTableResult

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".