public function query( $query, $options = 0 ) {

		$result                   = $this->wpdb->get_results( (string) $query );
		$this->last_affected_rows = (int) $this->wpdb->rows_affected;
		$this->last_insert_id     = (int) $this->wpdb->insert_id;
		$this->last_statement     = NULL;
		if ( ! is_array( $result ) )
			$result = [];

		return new GenericResult( $result );
	}