src/Db/WpDbAdapter.php
public function query_statement( Statement $statement, array $data, $options = 0 ) {

		$query = call_user_func_array(
			[ $this->wpdb, 'prepare' ],
			array_merge( [ (string) $statement] , $data )
		);
		$result               = $this->query( $query );
		$this->last_statement = $statement;

		return $result;
	}
public function query_statement( Statement $statement, array $data, $options = 0 ) {

		$query = call_user_func_array(
			[ $this->wpdb, 'prepare' ],
			array_merge( [ (string) $statement] , $data )
		);
		$result               = $this->query( $query );
		$this->last_statement = $statement;

		return $result;
	}
public function query_statement ( Statement $ statement , array $ data , $ options = 0 ) { $ query = call_user_func_array ( [ $ this -> wpdb , 'prepare' ] , array_merge ( [ ( string ) $ statement ] , $ data ) ) ; $ result = $ this -> query ( $ query ) ; $ this -> last_statement = $ statement ; return $ result ; }
Executes a Statement and return a Result

@param Statement $statement
@param array $data
@param int $options (Optional)

@return Result
Executes a Statement and return a Result