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

485 Commits

Author SHA1 Message Date
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
rbock
dba5c992ed Added _table_set to select_column_list.h 2014-03-28 18:10:58 +01:00
rbock
3f1460cd2e Streamlined basic value types 2014-03-28 18:09:21 +01:00
rbock
bef4d0874b Updates copyright year 2014-03-27 16:43:36 +01:00
rbock
c0595aa6f2 Fixed compile-error for parameter
(need to do the same for other value types, too)
2014-03-27 09:25:35 +01:00
rbock
5ba9908d66 Merge branch 'feature/statement_constructors' into develop 2014-03-27 08:40:32 +01:00
rbock
1a347048df Migrated remove and update to using arg_selector 2014-03-27 08:37:05 +01:00
rbock
1a39d31b3e Using arg_selector for select 2014-03-26 21:11:40 +01:00
rbock
6c4520a632 Using detail::arg_select to reduce number of constructors 2014-03-26 21:03:29 +01:00
rbock
1ffa6e25ba Added an argument selector
It returns the "correct" argument out of two.
2014-03-26 21:02:22 +01:00
rbock
1c95406ced Improved error messages for incorrect parameters. 2014-03-26 21:01:16 +01:00
rbock
a38a9d6f65 Made a bunch of compile errors easier to read
Fixed a few bugs in the process, too.
Probably also created a few, need better checks for resulting
statements.
2014-03-23 20:54:44 +01:00
rbock
4a25f5bcb9 Merge branch 'feature/trivial-value-is-null' into develop 2014-03-20 10:51:36 +01:00
rbock
555aba3f14 Rewrote type-set operations to look more like free functions 2014-03-19 18:59:39 +01:00
rbock
82dc280b1b Added executed select tests 2014-03-18 08:28:17 +01:00