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

911 Commits

Author SHA1 Message Date
rbock
c9401d4b00 Cleaned up requirements for sub-selects as tables 2015-02-17 22:14:05 +01:00
rbock
cc829a8704 Replaced parameter tuple with paramter type vector 2015-02-17 21:39:54 +01:00
rbock
1e9910b12f Replaced node tuple by node type vector 2015-02-17 08:03:19 +01:00
rbock
436ef67072 Replaced recursive traits with local traits which are evaluated recursively
Ok, that sounds weird...

Earlier, each node in the SQL tree had a struct containing all recursive
traits. This is now gone. It only contains a reference to all sub nodes
and its own specific traits.
2015-02-17 07:05:41 +01:00
rbock
97de6fad7f Adjusted license dates 2015-02-15 19:00:21 +01:00
rbock
437607813c Table aliases must not use braces for tables but for sub selects 2015-02-15 16:54:03 +01:00
rbock
9e1ecaf15a Fixed weird compiler crash with gcc-4.8.2
I have no idea why this is helping, but it does.

I need to invest some time to simplify the templates so that compilers
aren't as stressed with it.
2015-02-15 16:41:08 +01:00
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