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
465a8e700c
Fixed serialize check for tvin expressions
2015-03-13 21:47:41 +01:00
rbock
97de6fad7f
Adjusted license dates
2015-02-15 19:00:21 +01: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
f113b83740
Fixed most of the compiler warnings about unused variables in test programs
2014-06-28 20:21:43 +02:00
rbock
f8e0e90477
Fixed serializability of statements
2014-06-09 14:06:04 +02:00
rbock
067740d24e
InterpretTest compiles again
2014-06-04 18:35:25 +02:00
rbock
8d16b6ab2d
Migrated insert to generic statement
2014-06-02 23:57:21 +02:00
rbock
bef4d0874b
Updates copyright year
2014-03-27 16:43:36 +01:00
rbock
8c8b95d14e
Added template parameter Db to result_entry
2014-02-21 07:24:07 +01:00
rbock
b7935b61d5
Added some (no-op) statement executions
2014-02-21 06:02:49 +01:00
rbock
abf4bb8e9a
Added serializer to interpreter
...
The serializer has partial specializations for all templates. It is a
good basis if the connector/database requires strings close to the
standard.
The interpreter is unspecialized (and uses a static assert to say so).
It is a good basis if the connector/database requires a different
interpretation, e.g. re-writing the expression tree.
The interpretable_t implements three methods for interpretation:
serializing with the sqlpp::serializer_context, serializing with the
database's serialization context and interpretation with the database's
interpretation context.
2014-02-18 17:45:08 +01:00
rbock
9e8979c6f0
Fixed a bunch of small errors and shorted compile error messages
2014-02-13 08:44:09 +01:00
rbock
54687c5e69
Added a bunch of static asserts to prevent misuse of insert and update
...
There are quite a few more to be inserted
2014-02-10 17:56:16 +01:00
rbock
e4c7b5235f
Added several checks for correct types in insert columns/values
2014-02-10 09:46:31 +01:00
rbock
cc76820870
Migrated insert and remove back to composite design
2014-02-09 18:14:52 +01:00
rbock
3c6e7cb89a
Fixed a bunch of smaller migration errors
2014-02-08 22:24:05 +01:00
rbock
ec2a8587d4
Added python code generator as an example
2014-01-28 20:53:22 +01:00
rbock
24b44fae65
Re-animated all tests
2014-01-18 20:58:51 +01:00
Roland Bock
a0af42e57e
Added a few more type tests.
2013-11-10 18:03:39 +01:00
Roland Bock
96c6e5d435
Dynamic methods of select, insert and co return *this now.
...
Not sure if chaining makes much sense, but it is possible now
2013-10-03 20:53:55 +02:00
Roland Bock
a2d23006f0
Fixed ambiguous assignment operator
2013-10-02 07:32:28 +02:00
Roland Bock
2e7d5478f6
Added dynamic functions to insert, remove and update
2013-09-30 07:46:50 +02:00
Roland Bock
712d3a5c53
Renamed examples -> tests
...
Will need to add reasonable examples
2013-08-17 11:22:38 +02:00