<commit_before>#ifndef MYSQLPP_SQL_QUERY_H
#define MYSQLPP_SQL_QUERY_H

/// \file sql_query.h
/// \brief Declares the base class for mysqlpp::Query, plus some
/// utility classes to be used with it.
///
/// Class SQLQuery contains a large part of the functionality of class
/// Query, which is the only thing that derives from this class.  It is
/// separate for historical reasons only: in the beginning, MySQL++ was
/// called "sqlplus" and was supposed to be a C++ interface to any
/// database.  It initially only supported MySQL, though, and once
/// maintenance shifted to MySQL AB, that dream died.
///
/// The current maintainers have no wish to try and revive that dream,
/// so at some point this class's contents will be folded into the Query
/// class. This will probably happen in the next major release, when
/// major ABI breakage is acceptable.

#include "defs.h"
#include "sql_string.h"
#include "tiny_int.h"

#include <sstream>
#include <vector>
#include <map>

#define mysql_query_define0(RETURN, FUNC)\
  RETURN FUNC (ss a)\
    {return FUNC (parms() << a);}\
  RETURN FUNC (ss a, ss b)\
    {return FUNC (parms() << a << b);}\
  RETURN FUNC (ss a, ss b, ss c)\
    {return FUNC (parms() << a << b << c);}\
  RETURN FUNC (ss a, ss b, ss c, ss d)\
    {return FUNC (parms() << a << b << c << d);}\<commit_msg>Comment change.<commit_after>#ifndef MYSQLPP_SQL_QUERY_H
#define MYSQLPP_SQL_QUERY_H

/// \file sql_query.h
/// \brief Declares the base class for mysqlpp::Query, plus some
/// utility classes to be used with it.
///
/// Class SQLQuery contains a large part of the functionality of class
/// Query, which is the only thing that derives from this class.  It is
/// separate for historical reasons only: early on, there was a dream
/// (and some effort) to make MySQL++ database-independent.  Once
/// maintainership shifted to MySQL AB employees in 1999, though, that
/// dream died.
///
/// The current maintainers have no wish to try and revive that dream,
/// so at some point this class's contents will be folded into the Query
/// class. This will probably happen in the next major release, when
/// major ABI breakage is acceptable.

#include "defs.h"
#include "sql_string.h"
#include "tiny_int.h"

#include <sstream>
#include <vector>
#include <map>

#define mysql_query_define0(RETURN, FUNC)\
  RETURN FUNC (ss a)\
    {return FUNC (parms() << a);}\
  RETURN FUNC (ss a, ss b)\
    {return FUNC (parms() << a << b);}\
  RETURN FUNC (ss a, ss b, ss c)\
    {return FUNC (parms() << a << b << c);}\
  RETURN FUNC (ss a, ss b, ss c, ss d)\
    {return FUNC (parms() << a << b << c << d);}\
{'fraction_non_alphanumeric': 0.1316291491797024, 'fraction_numerical': 0.002289202594429607, 'mean_word_length': 3.2427184466019416, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '456443', 'n_tokens_mistral': 840, 'n_tokens_neox': 817, 'n_words': 374}