rbock
f314c6d070
Added recursive_traits to select
2014-05-16 20:06:20 +02:00
rbock
6972758931
Added extra_tables to recursive_traits
2014-05-16 09:33:48 +02:00
rbock
5f4a88c7ce
Function tests compile again
2014-05-16 09:18:08 +02:00
rbock
1d905e1db5
Ok, the first few lines of test code compile again.
2014-05-15 23:47:16 +02:00
rbock
d062c1a0d8
Started to rewrite traits and recursive traits
...
traits are shorter and easier to identify by using tags in a variadic
template
recursive traits can be automatically derived, which makes it much
easier to add new traits to be handed through the expression tree.
2014-05-15 08:00:03 +02:00
rbock
df3fd999b3
Merge tag '0.15' into develop
...
Replaced several recursive templates with non-recursive ones
This makes the code cleaner, easier to comprehend and probably more performant for huge SQL statements.
2014-05-12 22:44:24 +02:00
rbock
35d2f03ece
Merge branch 'release/0.15'
2014-05-12 22:42:31 +02:00
rbock
57239d10ed
Rewrote result_row implementation to be non-recursive
...
Cool. This is so much easier to understand now!
2014-05-07 23:56:12 +02:00
rbock
bcdcf7fa64
Added column_index_sequence
...
This is not necessarily sequential because there might be multi_columns.
2014-05-07 23:54:37 +02:00
rbock
d831f98c9a
Made parameter_list's bind non-recursive
2014-05-07 18:51:18 +02:00
rbock
b9133cf3a1
Used index_sequence to get rid of recursion in interpret_tuple.
...
Wonderful stuff, shaped after code samples from cppreference and
stackoverflow.
2014-05-06 22:41:19 +02:00
rbock
f57ba13955
Added link to boost mailing list
...
This where I presented the idea for all_t. According to Louis Dionne,
the fastest implementation around :-)
2014-05-06 22:38:30 +02:00
rbock
2124005bd8
Added index_sequence (until it can be used with C++14)
2014-05-06 22:20:24 +02:00
rbock
4c3e73f819
Minor cleanup
2014-05-01 17:41:51 +02:00
rbock
331353022a
Rewrote all_t to use bool arguments instead of predicate and classes
2014-05-01 17:34:47 +02:00
rbock
2452f224d4
Rewrote any_t to take bools instead of predicate and classes
2014-05-01 17:12:41 +02:00
rbock
c033feb60f
Replaced all_t/any_t by MUCH more performant versions
2014-05-01 14:08:48 +02:00
rbock
168f2e3404
Merge branch 'master' of https://github.com/rbock/sqlpp11
...
Conflicts:
LICENSE
2014-04-24 14:14:57 +02:00
rbock
404be9054c
Merge tag '0.14' into develop
...
Major refactoring release with
*) variadic CRTP structure for statements (simpler extensibiltiy)
*) massively improved error handling at compile time
2014-04-24 14:12:43 +02:00
rbock
40d2a48134
Merge branch 'release/0.14'
2014-04-24 14:10:59 +02:00
rbock
adc3545ca1
Fix in insert's add_set error handling
2014-04-24 14:09:33 +02:00
rbock
eef974478c
Fixed a few missing types
2014-04-22 22:39:25 +02:00
rbock
f47ef75c24
Added a few checks to insert, update and remove
2014-04-22 22:21:44 +02:00
rbock
d342973ef4
Added check to prevent add_column to use a column name known in the static part
2014-04-22 21:41:53 +02:00
rbock
8f16ded277
Allow columns() method to use all_of_t as well
2014-04-22 21:30:31 +02:00
rbock
0ffd93108b
Added a table consistency checks to several dynamic methods
2014-04-22 20:46:32 +02:00
rbock
1f3e611fdf
Added table checks to add_column and added add_column_ntc
2014-04-21 11:49:26 +02:00
rbock
815c061979
Added extra_tables to select.
...
With this method you can indicate additional tables that might be added
via add_from(). These tables are considered in the add_column, add
where, etc methods.
2014-04-21 10:59:29 +02:00
rbock
f4ec88c83d
Improved checks for selects being usable as value or table
2014-04-18 19:59:35 +02:00
rbock
bbae5e89e9
Improved decision whether a select is a value or not
2014-04-12 08:22:46 +02:00
rbock
cffc85879a
Calculate the tables required by a sub-select
2014-04-11 21:12:39 +02:00
rbock
207310effe
Added parameter lists to group_by and order_by
2014-04-11 18:23:20 +02:00
rbock
68f929e041
Removed a bunch of superfluous functions.
...
Dispatching made some emplace_back instances obsolete.
2014-04-11 08:58:28 +02:00
rbock
23ad8dbaae
Merge branch 'feature/inherit_statement_methods' into develop
2014-04-10 22:45:11 +02:00
rbock
abb80e3a91
Migrated insert to inheritance model
2014-04-10 22:44:38 +02:00
rbock
7e78c0d878
Migrated update to inheritance model
2014-04-10 21:20:37 +02:00
rbock
d2b59c0f59
Some cleanup
2014-04-10 20:20:59 +02:00
rbock
7f94002bec
Migrated remove to use inherited methods
2014-04-10 18:59:05 +02:00
rbock
bc5ffc1492
Added several call dispatches to reduce compiler spew in case of errors
2014-04-10 16:09:54 +02:00
rbock
ad5584e52d
Cleaned up a bit...
2014-04-09 20:54:28 +02:00
rbock
db0bbd6e3f
Moved select_colum_list methods to the respective classes
2014-04-09 08:50:34 +02:00
rbock
18d244dd9f
Moved from-methods to from-classes
2014-04-09 07:25:24 +02:00
rbock
5e0c1cff48
Moved flag-methods to select_flag classes
2014-04-08 22:45:19 +02:00
rbock
7af13937bf
Moved group_by-methods to group_by classes
2014-04-08 22:26:45 +02:00
rbock
a541d8e187
Moved having-methods to having-classes
2014-04-08 22:18:28 +02:00
rbock
eb9eab369a
Moved order_by-methods to order_by classes
2014-04-08 22:02:24 +02:00
rbock
f2fc4f73f6
Move offset methods into offset classes
2014-04-08 21:49:37 +02:00
rbock
4727de831f
Moved limit-methods to limit classes
2014-04-08 21:33:38 +02:00
rbock
c595353286
Moved where-methods to where-classes.
2014-04-08 20:59:45 +02:00
rbock
6737bf901d
Added a bunch of table tests to select
...
And some hints regarding additional tests and how to turn them of for
subselects
2014-04-07 22:02:08 +02:00