src/Database/Drivers/ImprovedDriver.php
/**
	 * Validates a query using prepared statements and throws an exception upon invalid syntax. This is ignored on
	 * unsupported drivers or platforms.
	 *
	 * @param string $statement
	 * @return void
	 *
	 * @throws DatabaseException on error
	 */
Validates a query using prepared statements and throws an exception upon invalid syntax. This is ignored on
unsupported drivers or platforms.

@param string $statement
@return void

@throws DatabaseException on error
Validates a query using prepared statements and throws an exception upon invalid syntax . This is ignored on unsupported drivers or platforms . @param string $statement @return void @throws DatabaseException on error
public function validate($statement) {
		if (!$this->handle->prepare($statement)) {
			throw new DatabaseException($this->handle->error);
		}
	}
public function validate ( $ statement ) { if ( ! $ this -> handle -> prepare ( $ statement ) ) { throw new DatabaseException ( $ this -> handle -> error ) ; } }
Validates a query using prepared statements and throws an exception upon invalid syntax.
Validates a query using prepared statements and throws an exception upon invalid syntax .