1539 Commits

Author SHA1 Message Date
Levente Batuska
6180ee5e49 Fix compile warning (shadowed variable) 2025-12-13 08:59:16 +01:00
Levente Batuska
38e9c7efd4 Fix compile warning (conversion) 2025-11-26 05:28:51 +00:00
Roland Bock
3b8f4092f7 Conditional include for ciso646, #626 2025-09-07 09:50:37 +02:00
Commander Thrashdin
1806fe4dd8 Typos only 2025-07-08 03:59:41 +00:00
Roland Bock
00e38f6506 Link to sqlpp23 2025-06-29 17:04:41 +02:00
Roland Bock
6b6b5cc4fb Fix missing wrap_operand in case/then/else_, #624
case(...).then(...).else_(7) can now be used.
2025-06-24 12:04:09 +02:00
Roland Bock
5e930f3901 Allow undefined _MSC_FULL_VER #622
As suggested by @wgraef.
2025-06-15 10:47:19 +02:00
Roland Bock
9039e10c5f Fix warning 2025-06-15 10:47:09 +02:00
Roland Bock
aaa6101b22 Add compilation of connectors to .appveyor
This would have caught #623 before it landed
2025-06-15 10:42:09 +02:00
Roland Bock
4148d84244 Fix compile error in postgresql connector #623 2025-06-15 09:21:31 +02:00
Roland Bock
e9411dcd20 Fix compile errors/warning in clang++-20 2025-06-15 09:12:26 +02:00
Roland Bock
62bf161c88 Add examples of count calls, see #618 0.65 2025-05-20 06:46:02 +02:00
margaretselzer
abc9e30b5e Enable execute() to run prepared_statements for all connectors 2025-04-13 18:59:00 +00:00
Roland Bock
35f4ab6295 Update README.md
Update link to license
2025-02-23 16:50:43 +01:00
Roland Bock
5a3869c957 Update README.md
Remove gitter link
2025-02-23 13:15:21 +01:00
Roland Bock
b4523e0ccd Fix assert test, see #615
In C++23, string is no longer constructible from nullptr.
2025-02-12 06:46:07 +01:00
Roland Bock
561cc7e643 Add serialize test for LEFT OUTER JOIN, see also #614 2024-12-23 20:25:39 +01:00
Nikolay
31b43445d9 [-] mysql connectors in dynamic-query-constructors are fixed 2024-12-19 06:21:49 +01:00
Nikolay
6906a8d2d2 [-] static assert fix regarding connection type. Since now pooled_connections are allowed to process postgres-dynamic-queries 2024-12-19 06:21:49 +01:00
vaijns
12a30f9112 Make current_*_t function constructors default and remove implicit name 2024-12-07 14:00:16 +01:00
vaijns
5b3b623d1c Move _alias_t for CURRENT_* functions inside its struct 2024-12-07 14:00:16 +01:00
vaijns
07cba89bfb Add tests for CURRENT_* functions and remove parameter names in serialize() functions 2024-12-07 14:00:16 +01:00
vaijns
1046bde423 Add SQL standard functions CURRENT_DATE, CURRENT_TIME and CURRENT_TIMESTAMP 2024-12-07 14:00:16 +01:00
vaijns
b445f24b24 Remove unnecessary floor() when binding time_of_day parameter 2024-12-07 13:15:33 +01:00
vaijns
e3f676079b Add tests for binding time_of_day parameters and results with SQLite3 2024-12-07 13:15:33 +01:00
vaijns
d0cdaae972 Support binding time_of_day parameters with SQLite3 2024-12-07 13:15:33 +01:00
vaijns
542f091f2f Support binding a result of type time_of_day with SQLite3 2024-12-07 13:15:33 +01:00
Roland Bock
f18f595a48 Update README.md
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-09-25 08:12:58 +00:00
Kai Pastor
fd5e612cda Update vcpkg section of README.md
Don't advertise the connector ports. (Legacy.)
Indicate that a database feature must be selected.
2024-09-25 08:12:58 +00:00
Kai Pastor
30042c075f Fix find_package_handle_standard_args 2024-09-24 04:50:40 +00:00
margaretselzer
e99f50d803 SQLite3: Add test for execute() running a prepared_statement 2024-09-18 06:16:56 +00:00
Marcell Egyed
b99e1b0e7d SQLite3: Enable execute() to run prepared_statements
Limit execute to run only non-select statements.
(Note: Does not apply to raw sql string select queries).
2024-09-18 06:16:56 +00:00
Marcell Egyed
fc23782369 Add argumentless overload for get_sql_name()
Comes handy with template metaprogramming.
2024-09-11 09:55:48 +00:00
MeanSquaredError
a710e8bd89 Rename macro CXX_STD_VER -> SQLPP_CXX_STD 2024-09-04 04:39:49 +00:00
MeanSquaredError
f56564d632 Replace -__cplusplus with CXX_STD_VER, because the latter works correctly with MSVC. 2024-09-04 04:39:49 +00:00
MeanSquaredError
b100ede72e Move the CXX_STD_VER macro to a separate header file. 2024-09-04 04:39:49 +00:00
MeanSquaredError
633710aa93 When building for C++20 or newer, result_t::iterator is an std::input_iterator. Otherwise (C++17 or older) it is a LegacyInputIterator. 2024-09-03 04:42:08 +00:00
MeanSquaredError
f983abcfc0 Remove structure sqlpp::iterator_category. 2024-09-03 04:42:08 +00:00
MeanSquaredError
28dac3a3d3 Make result_t::iterator default-constructible. 2024-09-03 04:42:08 +00:00
MeanSquaredError
5224d6a733 Replace reference wrapper with pointer in result_t::iterator, preparing for support for default initialization. 2024-09-03 04:42:08 +00:00
MeanSquaredError
0a2765d588 Make the result_t::iterator::operator++(int) return void in order to fix a bug and preserve compatibility with C++20 ranges. 2024-09-03 04:42:08 +00:00
Roland Bock
5564584799 Provide code sample for #587 2024-08-13 07:04:36 +02:00
Roland Bock
46cffc8398 Ignore trailing spaces in sqlite3 statements, #585 2024-07-26 14:13:11 +02:00
Roland Bock
09a98736d7 Fix CRTP for parameterized_verbatim, #584 2024-07-24 06:19:59 +02:00
Roland Bock
505adb546a Fix incorrect for_update function, #583 2024-07-23 20:58:25 +02:00
Roland Bock
d6f5e498b9 Fix incorrect expressions for paramterized_verbatim, #584 2024-07-23 20:47:31 +02:00
Roland Bock
166b01a32f Fix missing includes, #578 2024-06-21 21:54:19 +02:00
Andrey Egorov
e6bd90c489 MySQL SSL & read_timeout options, and bind blob result bugfix (#577) 2024-06-19 18:32:17 +00:00
MeanSquaredError
f6cb4d311a ddl2cpp: Add tests for the column isPrimaryKey property. 2024-06-12 20:22:06 +02:00
MeanSquaredError
ffd6618e58 Treat "PRIMARY KEY" columns as not nullable. 2024-06-12 20:22:06 +02:00