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
acba273230
Fixed a problem with sub selects in binary operators
...
There were missing braces for sub selects in expressions like
tab.id == select(max(tab.id)).from(tab).where(true)
2014-12-03 17:21:12 +01:00
rbock
74cafe35dd
We now have unique name representations per name
...
Before this, there could be multiple classes representing multiple id
columns. Now there is one class representing ALL the name "id". Very
important for analyzing potential name clashes.
2014-11-30 19:40:34 +01:00
rbock
809d42e4a1
Introduced check for serializability
2014-11-25 17:43:55 +01:00
rbock
7c80a2a6e0
Renamed named_expression to selectable
2014-09-26 09:03:26 +02:00
rbock
10fa8693cc
Minor fix (less error spew for 'like')
2014-09-06 04:16:22 +02:00
rbock
2dcd2918d3
Added operators to the 'like' member_t
2014-08-27 22:53:22 +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
2c23769cdf
Moved operator and parameter templates out of value classes, added member template
...
These templates are nicer when used.
2014-08-25 08:43:42 +02:00
rbock
dd33b8096e
Streamlined type traits a bit
2014-07-28 06:54:54 +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
rbock
312e735d6d
Moved a bunch of things into namespace vendor
...
This namespace is for things the developer will not get in touch with
(normally) but the vendor might need to use for specialization of the
interpreter.
This separation is not fully completed yet, some changes will have to
follow...
2014-01-18 15:50:16 +01:00
rbock
1c4d041b89
Cleaned up some outdated serialize functions
2014-01-15 23:05:24 +01:00
rbock
f21860e5c5
Cleaned up a hack in like()
2014-01-12 16:26:47 +01:00
rbock
7fc5c34190
interpret works for group_by(), having() und .like()
2014-01-12 16:19:09 +01:00
Roland Bock
b8907df4ef
Implemented parameter index determination
2014-01-05 19:25:52 +01:00
Roland Bock
1360b1d9db
Turned value_type::parameter_t into a non-template
2014-01-02 13:11:19 +01:00
Roland Bock
b031bda5fc
Can now prepare a select (tested with mysql)
2013-12-28 22:52:54 +01:00
Roland Bock
221e20918b
select now collects parameters from Where and Having
2013-11-26 23:45:31 +01:00
Roland Bock
8f99a03359
Can extract parameters from expression
2013-11-22 09:42:28 +01:00
Roland Bock
9d94f6770b
Added function tests and fixed a few return types
2013-11-07 13:36:54 +01:00
Roland Bock
d3963e04b6
Added more checks for database traits
2013-11-01 15:25:52 +01:00
Roland Bock
7fde9dafb2
Cleaned up a bunch of unused expression templates
2013-10-02 07:40:26 +02:00
Roland Bock
d0d5fd2969
Replaced tag_yes and tag_no by std::true_type and std::false_type
2013-09-29 09:02:51 +02:00
Roland Bock
950859af5f
Rewrote macro generated function code to handwritten code
...
This increases the number of Bytes, but it also increases readability,
and reduces complexity.
It also allows to specialize functions for database engines.
2013-09-19 17:07:14 +02:00
Roland Bock
0db405c28c
Rewrote like() member function, added more type control to concat()
2013-09-19 09:04:07 +02:00