0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 21:04:15 +08:00
Commit Graph

100 Commits

Author SHA1 Message Date
Roland Bock
135dceeba3 Add tests and fix serialization of select columns 2024-08-21 07:27:57 +02:00
Roland Bock
92037acd7c More tests and fixes 2024-08-18 12:25:56 +02:00
Roland Bock
cc49ba1524 Cleaned up logic.h
all_t was not to be used as a type but as a value, thus, it should be `all`.
Same with any and none.
2024-08-17 19:57:21 +02:00
Roland Bock
f04a597bf5 Fixed a bunch of tests 2024-08-17 19:32:52 +02:00
Roland Bock
b95a23b161 More tests and cleaner detection for result clause
(that is the clause that determines the result type of the statement)
2024-08-17 15:25:06 +02:00
Roland Bock
40d03f5312 More tests and fixed names for aggregates 2024-08-17 08:48:33 +02:00
Roland Bock
fc0632e0b0 more tests and more clarity for group_by 2024-08-16 14:15:08 +02:00
Roland Bock
843e39b3d0 more tests and more clarity for aggregates 2024-08-15 18:33:18 +02:00
Roland Bock
dc38a81a8c More tests 2024-08-14 07:54:53 +02:00
Roland Bock
a2f91c4a7c First aggregate tests 2024-08-12 07:46:09 +02:00
Roland Bock
bd54159446 Need tests for type_traits 2024-08-11 20:26:34 +02:00
Roland Bock
a6843f4518 More tests for aggregate functions 2024-08-11 11:07:04 +02:00
Roland Bock
7f59918a09 Serialize tests compile and pass again 2024-08-10 21:35:23 +02:00
Roland Bock
b9987ccf4d Continued migration 2024-08-10 15:54:32 +02:00
Roland Bock
e17e9aebde serialize -> to_sql_string 2024-08-10 15:35:58 +02:00
Roland Bock
3faecf6c01 Remove duplicate tests 2024-08-10 11:48:16 +02:00
Roland Bock
1339cbd0e6 Fix parentheses for aggregate functions 2024-08-10 09:30:20 +02:00
Roland Bock
7a900b147c Fixed tests 2024-08-10 09:13:28 +02:00
Roland Bock
069fcf79b5 Cleanup name tags in sqlpp17 style
Using a macro in the generated table specs (this is much nicer now).
Using string_view to represent names.
2024-08-06 06:57:47 +02:00
Roland Bock
cec1eaa768 More tests 2024-08-05 20:26:54 +02:00
Roland Bock
ed0d10b58b More tests 2024-08-04 15:57:57 +02:00
Roland Bock
8e688f3c34 More tests 2024-08-03 21:08:27 +02:00
Roland Bock
e3f95a8e69 Added placeholders for operator serialize tests
Added SQLPP_COMPARE helper function
2024-08-03 12:14:00 +02:00
Roland Bock
dfa9924288 More tests and changed parentheses handling in operators 2024-08-03 11:41:32 +02:00
Roland Bock
4a9f9c384c Remove option to compile tests with different standard
The library is header only. It makes no sense to distinuish
between the standard the library is compiled with and the
standard the tests are compiled with. The library does not
get compiled on its own.
2024-08-03 10:29:20 +02:00
Roland Bock
a7ee6e5d3b More tests 2024-08-03 10:08:47 +02:00
Roland Bock
42d1b61279 More tests 2024-08-02 07:23:24 +02:00
Roland Bock
98a4ff9cb2 Add more tests 2024-07-31 07:48:21 +02:00
Roland Bock
68a3265fdc More moves 2024-07-30 07:32:30 +02:00
Roland Bock
79da114c00 Move stuff out of compat namespace
It is too much cognitive overhead
2024-07-29 20:49:45 +02:00
Roland Bock
3f73115356 Move stuff into core 2024-07-29 20:38:10 +02:00
Roland Bock
91af6aa385 Still more moves 2024-07-29 07:08:37 +02:00
Roland Bock
715839e18f More moves 2024-07-28 21:04:26 +02:00
Roland Bock
44ce033845 Move more stuff 2024-07-28 20:56:27 +02:00
Roland Bock
df8e2b6c81 Move clauses into sub directory 2024-07-28 20:24:05 +02:00
Roland Bock
6a92f139b7 More tests fixed
Make as_expression usable in select only
2024-07-28 15:04:22 +02:00
Roland Bock
2b7b568c49 Continue fixing tests 2024-07-27 13:15:56 +02:00
Roland Bock
6a11df89ec Change table represenation
Move columns out of table template parameters
2024-07-26 12:11:38 +02:00
Roland Bock
5578cce232 Rewrite select_as and add type tests 2024-07-25 08:05:18 +02:00
Roland Bock
4630bf7f0c More type tests 2024-07-21 19:33:33 +02:00
Roland Bock
25faf6c4bb More tests 2024-07-21 13:04:17 +02:00
Roland Bock
d3daa90e0b custom_query tests 2024-07-21 12:01:37 +02:00
Roland Bock
01c1e69eb3 More tests 2024-07-21 10:43:27 +02:00
Roland Bock
d2cb720746 Reactivate more tests 2024-07-21 09:24:41 +02:00
Roland Bock
4e75cf349b Start reactivating tests 2024-07-21 07:57:01 +02:00
Roland Bock
0f4d3b1451 Reduce error messages for serialize, add first serialize test for dynamic AND 2024-07-18 20:49:16 +02:00
Roland Bock
7cc4e45abd Add dynamic to AND and OR 2024-07-18 20:17:57 +02:00
Roland Bock
700c263f90 Introduce dynamic
This allows to select columns dynamically
2024-07-18 07:38:45 +02:00
Roland Bock
25200ba4cb (Only) allow comparison with ANY and introduce BETWEEN 2024-07-17 07:44:21 +02:00
Roland Bock
937dd31a13 Migrate column_t::as to using operator::as 2024-07-16 07:37:03 +02:00