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

854 Commits

Author SHA1 Message Date
rbock
80bc0fcf5e Merge branch 'feature/with_cte' into develop 2015-02-15 16:07:15 +01:00
rbock
da0d47a805 Fixed conditions for using sub select as alias 2015-02-15 16:06:14 +01:00
rbock
a09c79b234 Removed a few stray semicolons 2015-02-15 13:10:39 +01:00
rbock
2c463b2b51 Added missing includes 2015-02-13 16:26:45 +01:00
rbock
18b36bf46a recursive ctes seem to be basically working 2015-02-12 18:05:19 +01:00
rbock
73097e989f Mapping ctes to cte_references when used in from, helping with serialization 2015-02-11 19:06:16 +01:00
rbock
a5c8b40b07 Adjust WITH clause to serialize RECURSIVE where required 2015-02-09 18:44:25 +01:00
rbock
f50500ba8b Fixed a few superflous semicolons 2015-02-09 18:39:03 +01:00
rbock
7e36281e5d Fixed a few stray semicolons 2015-02-09 07:36:53 +01:00
rbock
c4d77372cf The first recursive cte compiles 2015-02-08 19:47:33 +01:00
rbock
ee3d803c33 Added a few cte checks, fixed logic of requiring and providing ctes 2015-02-08 18:26:36 +01:00
rbock
b60df812e1 Split union data from union, to be used in ctes, as well 2015-02-08 18:26:00 +01:00
TyRoXx
3cef1a1217 enable -Wpedantic and fix all the warnings
Conflicts:
	examples/select.cpp
	include/sqlpp11/interpret_tuple.h
	include/sqlpp11/type_traits.h
2015-02-07 15:07:33 +01:00
TyRoXx
25883fc8ea enable -Wconversion and fix a warning 2015-02-07 14:50:47 +01:00
rbock
aa9c8dcfce A few FIXME's regarding remaining stuff for with clauses and ctes 2015-02-07 14:42:29 +01:00
Roland Bock
ea57c55b0d Merge pull request #27 from TyRoXx/wpedantic
enabled -Wpedantic and fixed all the warnings
2015-02-07 14:41:43 +01:00
rbock
d0f4c7dad5 Fixed paths to test executables for ctest 2015-02-07 13:31:45 +01:00
TyRoXx
a480ce6259 enable -Wpedantic and fix all the warnings 2015-02-04 21:43:10 +01:00
TyRoXx
a88a146b5d enable -Wconversion and fix a warning 2015-02-04 21:34:46 +01:00
rbock
36a6837077 travis: installing boost-1.50 headers "manually" 2015-01-31 17:15:14 +01:00
rbock
8bdb3e953d boost-1.50 is required, trying to figure out which versions are available at travis
Might have to install headers manually
2015-01-31 16:47:59 +01:00
rbock
ef21539062 Adjusted CMakeLists to accept boost-1.46.
That's what travis is currently using.
2015-01-31 16:27:47 +01:00
Roland Bock
aaeacfb2b0 Merge pull request #26 from niXman/develop
BOOST_PP_TUPLE_POP_FRONT() added & files reorganized
2015-01-31 16:21:45 +01:00
rbock
d6acf0cfb4 Still trying to install boost headers 2015-01-31 16:17:01 +01:00
rbock
42757b4479 Adding boost to travis box 2015-01-31 16:06:01 +01:00
niXman
b8ca8c4671 revert travis.ci changes 2015-01-31 16:51:36 +02:00
niXman
e88e7a2050 travis.ci configuration testing... 2015-01-31 16:47:40 +02:00
niXman
76032093e1 travis.ci configuration testing... 2015-01-31 16:44:47 +02:00
niXman
ed5c123c97 travis.ci configuration testing... 2015-01-31 16:40:40 +02:00
niXman
df0429058c boost.preprocessor hack & some cosmetic fixes 2015-01-31 16:05:53 +02:00
niXman
504bf961a6 fix for previous commit 2015-01-31 01:36:39 +02:00
niXman
2b7d1ad54a BOOST_PP_TUPLE_POP_FRONT() added & files reorganized 2015-01-31 01:26:18 +02:00
rbock
59c5bc8970 Wrapped code generator example with a check for boost-1.56+ 2015-01-29 23:32:03 +01:00
Roland Bock
bebe52f1c5 Merge pull request #25 from niXman/develop
The first working implementation
2015-01-29 23:20:12 +01:00
rbock
2adf529445 First with-query compiles 2015-01-29 19:17:24 +01:00
niXman
256060c2d7 The first working implementation 2015-01-28 22:54:57 +02:00
rbock
da9ca73788 First test constructing a cte 2015-01-27 18:28:36 +01:00
rbock
abfde5c9a7 Turned alias into an inline namespace which helps with ADL in cte 2015-01-27 18:27:33 +01:00
rbock
d9bd5f1b5c Adjusted .clang-format 2015-01-27 08:31:42 +01:00
rbock
12a0d9d698 cte.h compiles 2015-01-27 08:29:10 +01:00
rbock
4112448b5b Some ideas 2015-01-19 09:17:21 +01:00
rbock
08de44e8a8 Union works with static results only 2015-01-19 09:16:41 +01:00
rbock
1fb83ed9fa Consistency < Prepare < Run
Consistency: No missing table
Prepare: No missing cte
Run: No parameter
2015-01-19 07:26:04 +01:00
rbock
61b0bd9ff8 Can chain unions
And a few more checks
2015-01-15 19:43:56 +01:00
rbock
92e670118a Started to add common table expressions and 'with' 2015-01-13 21:53:29 +01:00
rbock
8488dae0a7 Added a few compile-time checks for unions 2015-01-11 17:10:36 +01:00
rbock
c4ee228f12 Make MockDb a bit more talkative for tests 2015-01-11 16:12:39 +01:00
rbock
b4f62a5eb6 Union can be used as pseudo-table, allowing to union unions 2015-01-11 14:02:15 +01:00
rbock
a6932070c3 Added a first version of the union function. 2015-01-10 18:30:29 +01:00
rbock
acba273230 Fixed a problem with sub selects in binary operators
There were missing braces for sub selects in expressions like

tab.id == select(max(tab.id)).from(tab).where(true)
2014-12-03 17:21:12 +01:00