rbock
6badf8d135
Cleanup
2015-10-07 20:49:16 +02:00
rbock
547d1863f7
Started to replace static asserts with portable static asserts for testing
2015-10-04 14:43:19 +02:00
rbock
09f23cea0a
Reformatted using clang-format
...
Please use clang-format before submitting code, e.g via the pre-commit
supplied in the repo (thanks AndiDog)
2015-09-13 21:33:19 +02:00
Reto Schneider
5756b2355f
Remove trailing spaces.
2015-08-05 14:43:21 +02:00
rbock
8d356f55ce
Fixed warnings about unused parameters
2015-05-30 16:19:23 +02:00
niXman
0e86a5a666
suppress the warns about the unused vars
2015-05-19 10:38:34 +03: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
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
a09c79b234
Removed a few stray semicolons
2015-02-15 13:10:39 +01:00
rbock
f02a9ce3d0
Moved logic functions from detail into logic namespace
2014-11-29 14:29:54 +01:00
rbock
f62891d25f
Merged _member and _methods in clauses to _base
...
This makes statement_t look much nicer and use less inheritance
2014-11-29 11:10:01 +01:00
rbock
36d1a85339
Reduced error messages for insert value lists
2014-11-27 23:11:46 +01:00
rbock
0e27cd7138
Added serialize checks for dynamically added stuff
2014-11-26 10:02:48 +01:00
rbock
935baebedb
Added more specific static asserts for the consistency checks
2014-11-25 21:46:09 +01:00
rbock
809d42e4a1
Introduced check for serializability
2014-11-25 17:43:55 +01:00
rbock
e1c007287c
Added portable static asserts
2014-11-23 20:06:58 +01:00
rbock
0b1b03fedc
Added missing consistency check structs
2014-11-17 19:13:45 +01:00
rbock
59734b3f51
Moved static asserts for inconsistency errors much closer to call site
2014-11-17 19:05:22 +01:00
rbock
b15fa64c55
Added missing include
2014-09-01 12:08:47 +02:00
rbock
4ac4b1820b
Removed stray sqlpp namespace qualifiers
...
The usage was very inconsistent. Also, I just saw that the current VC++
cannot deal with qualifiers in combination with template aliases
2014-08-27 20:43:09 +02:00
rbock
3dfed5b85c
Added derived_statement_t alias
2014-08-27 20:10:31 +02:00
rbock
a4429f0f19
Sprinkled in a few const qualifiers
2014-08-27 09:23:07 +02:00
rbock
5ddaaeeac8
Meta function for accessing the lhs and rhs of an expression
2014-08-26 23:32:29 +02:00
rbock
e59dc3862a
An alias for creating a new statement type
2014-08-25 21:22:22 +02:00
rbock
83fd052cf5
Fixed duplicate column detection in insert and update
2014-08-24 12:28:49 +02:00
Johan
73973f0f48
Fix cygwin-gcc and cmake problems
...
Fixed warning in CMake
Fixed problem with tuples creation
Fixed problem of stream copy constructor usage
2014-08-20 21:58:57 +02:00
rbock
f1542507ff
Moved tests for insert_into(t).columns(...) into function
...
This reduces and clarifies error messages a bit.
2014-08-15 18:11:24 +02:00
rbock
e21b38901b
Added static_assert for required_columns in insert
...
This constraint had been dropped by accident when restructuring for
statement_t.
2014-08-15 17:56:13 +02:00
rbock
3484903525
Repaired insert to work with expression values again
2014-08-14 23:47:25 +02:00
rbock
c0902f8683
Added constraints that insert and update require some value specs
2014-08-11 21:03:55 +02:00
rbock
27649b3af2
Added support for default values and result fields for insert
2014-08-11 19:17:42 +02:00
rbock
dd33b8096e
Streamlined type traits a bit
2014-07-28 06:54:54 +02:00
rbock
12f723d021
Fixed type error in join
2014-07-26 18:06:37 +02:00
rbock
0f29e255d1
Unified tvin/trivial_value_is_null usage for =,==,!= and !
2014-07-21 09:53:17 +02:00
rbock
08786c7cf9
Added -Wall, took care of a bunch of compiler warnings
2014-06-28 14:39:04 +02:00
rbock
2266787e94
Fixed another few warnings
2014-06-26 14:35:49 +02:00
rbock
1267aa252f
Added _check_consistency call to all statement parts
...
For instance, enforce where() to be called
2014-06-24 21:53:25 +02:00
rbock
1d82cf7f09
Fixed a bunch of bugs that came up when integrating with mySQL again.
...
Thanks Matthijs!
2014-06-20 16:53:52 +02:00
rbock
5f927572cf
Took care of a few warnings
2014-06-14 20:25:11 +02:00
rbock
269f2e7e17
Fixed indentations
2014-06-14 07:45:10 +02:00
rbock
09d220541e
removed namespace vendor
2014-06-14 07:43:27 +02:00
rbock
060d59125c
Moved files from sqlpp11/vendor to sqlpp11
2014-06-13 18:51:51 +02:00