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

1541 Commits

Author SHA1 Message Date
rbock
bcc085f819 Cleaned up concat_t and added concat method 2015-05-05 08:18:39 +02:00
rbock
8c427d0f79 Merge branch 'master' of https://github.com/rbock/sqlpp11 2015-05-01 18:20:59 +02:00
rbock
894c5fddfb Merge tag '0.34' into develop
Added schema qualified tables
2015-05-01 18:20:10 +02:00
rbock
9adae43bd0 Merge branch 'release/0.34' 2015-05-01 18:19:48 +02:00
rbock
a915f36b46 Minor fixes 2015-05-01 18:19:00 +02:00
rbock
4fbcf77926 Disallow table alias for insert 2015-05-01 18:18:08 +02:00
rbock
a6a969a4d8 Added schema qualified tables` 2015-04-30 21:32:50 +02:00
Roland Bock
a61be5b30d Update README.md 2015-04-26 10:13:40 +02:00
rbock
49a538ce52 Merge tag '0.33' into develop
Cleaned up warnings and ambiguities detected by gcc-5.0
2015-03-22 12:32:30 +01:00
rbock
9d7d83b906 Merge branch 'release/0.33' 2015-03-22 12:31:49 +01:00
rbock
1f841d2b2b Pacify g++-5.0 (which detected ambiguities) 2015-03-22 12:27:52 +01:00
rbock
cdf86695d1 Fixed a bunch of shadowing warnings issued by g++
A bit over the top in some places, I think
2015-03-21 11:41:07 +01:00
rbock
fb61260b2b Merge branch 'release/0.32' 2015-03-13 21:48:30 +01:00
rbock
465a8e700c Fixed serialize check for tvin expressions 2015-03-13 21:47:41 +01:00
rbock
3b23615dae Merge tag '0.31' into develop
Fixed return types for custom queries
2015-03-08 21:08:39 +01:00
rbock
3799248b4a Merge branch 'release/0.31' 2015-03-08 21:08:21 +01:00
rbock
3ca69bf8b8 Updated return types for executing custom queries 2015-03-08 21:06:30 +01:00
rbock
4981b1962c Merge tag '0.30' into develop
Misc:
  - Massive reduction of template error code
	- Increased warning level

Functionality
  - Added custom query
  - Added preprocessor generator for columns/tables (niXman)
  - Added UNION
  - Added WITH

Compatibility:
  - clang-3.1 crashes
	- clang-3.3+ is fine
2015-03-08 20:36:57 +01:00
rbock
67b86a7554 Merge branch 'release/0.30'
Conflicts:
	CMakeLists.txt
	examples/CMakeLists.txt
	examples/select.cpp
	include/sqlpp11/interpret_tuple.h
	include/sqlpp11/type_traits.h
2015-03-08 20:28:48 +01:00
rbock
21621f81c8 Added -Wshadow and un-inlined namespace alias
Not sure if inlining alias was a good idea to begin with...
2015-03-08 20:19:01 +01:00
rbock
47150e1fdb Added missing inline to free function 2015-03-08 20:17:10 +01:00
rbock
30834ab9db Fixed value_list for sets 2015-03-08 20:15:16 +01:00
rbock
d2975b39fb Allow sqlpp be compiled as sub project 2015-03-08 18:36:42 +01:00
rbock
6591d38bab Added table() method for columns. 2015-03-07 09:40:06 +01:00
rbock
028af83fe7 Fixed UNION DISTINCT to not serialize DISTINCT
sqlite3 does not support the keyword in UNION, and for others DISTINCT is the default
anywy
2015-03-05 18:01:59 +01:00
rbock
0c429928cd Fixed ctest config 2015-03-05 18:01:27 +01:00
rbock
3b2f666b53 Fixed serialization of recursive common table expressions 2015-03-04 07:43:15 +01:00
rbock
f1dc56a822 Merge branch 'feature/recursive_traits' into develop 2015-02-24 09:04:10 +01:00
rbock
8910220b6c Minor cleanup 2015-02-24 08:09:17 +01:00
rbock
57ceefbd0c Added missing checks for aggregate functions 2015-02-24 08:02:14 +01:00
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