We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc3046b commit b0f36ccCopy full SHA for b0f36cc
include/pqxx/params.hxx
@@ -92,14 +92,13 @@ public:
92
{
93
// First argument is a source of an encoding group, not a parameter.
94
m_enc = pqxx::internal::get_encoding_group(first);
95
- append_pack(loc, std::forward<Args>(args)...);
96
}
97
else
98
99
- // All arguments are parameters for the SQL statement.
100
- append_pack(
101
- loc, std::forward<First>(first), std::forward<Args>(args)...);
+ // The first argument is just a regular parameter.
+ append(std::forward<First>(first), loc);
102
+ append_pack(loc, std::forward<Args>(args)...);
103
104
105
/// Pre-allocate room for at least `n` parameters.
0 commit comments