Allows to execute a SQL statement that returns a boolean value, which is checked to be positive.
This function allows you execute an SQL statement that returns a boolean value, which is converted into the proper value, to be check if it contains a positive.
This operation could be performed easily by using already provided API, but this function allows you to avoid declaring several variables, perfom conversion operation, and many other boring stuff only to check if some SQL statement is positive, in the boolean sense.
|cmd_string ||The SQL statement to execute to get the boolean value.|
- TRUE if the SQL statement returns a boolean TRUE value or FALSE if not. Currently, the function also returns FALSE if it fails to execute the SQL statement.