rbock
aac411d1bf
Merge pull request #12 from jbaltie/compile/cygwin-gcc
...
Fix cygwin-gcc and cmake problems
2014-08-20 22:14:36 +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
e5e97d10b6
Added alias operators to wrapped value operands
2014-08-18 21:10:58 +02:00
rbock
f859f7fe4a
Added must_not_update-test
2014-08-18 19:17:59 +02:00
rbock
13c1b5d8f3
Fix to make sqlpp11 compile with clang-3.1
2014-08-18 15:09:27 +02:00
rbock
d0d5e94bf1
Added eval function for both strings and expressions.
...
eval wraps whatever you give to it into a select call, sends it to the
database and returns the value as a result field.
2014-08-18 10:46:24 +02:00
rbock
d856709cf3
Update README.md
2014-08-18 00:07:21 +02:00
rbock
f6ae27b0fe
Made "where" non-mandatory if there are no tables involved.
2014-08-17 20:45:27 +02:00
rbock
7690f0660c
Merge tag '0.24' into develop
...
Re-introduced checks for required columns in insert
Added appropriate constraint tests
2014-08-16 18:48:47 +02:00
rbock
562bb2e1ef
Merge branch 'release/0.24'
2014-08-16 18:47:46 +02:00
rbock
66ffff78ad
Added tests for insert constraints
2014-08-16 18:47:06 +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
d03e543db6
Merge tag '0.23' into develop
...
Maintenance release
Allow expressions as insert values again.
2014-08-15 15:54:47 +02:00
rbock
2eb7102ca4
Merge branch 'release/0.23'
2014-08-15 15:51:46 +02:00
rbock
3484903525
Repaired insert to work with expression values again
2014-08-14 23:47:25 +02:00
rbock
d79c2ca92c
Merge tag '0.22' into develop
...
Maintenance release
Fixed linker problem (missing inline qualifiers)
Added tvin assigment to parameters
Fixed and adjusted boolean expression
2014-08-12 22:09:34 +02:00
rbock
3d1affe13e
Merge branch 'release/0.22'
2014-08-12 22:07:23 +02:00
rbock
1d98fb0198
Added tvin arguments for parameters
2014-08-12 22:00:59 +02:00
rbock
b52591df58
Added bitwise_and and bitwise_or to integral
2014-08-12 22:00:47 +02:00
rbock
ad1c5f94bb
Made boolean expression more usable
2014-08-12 18:48:50 +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
34e64b50d6
Added inline keyword to several free non-template functions
2014-08-11 19:11:15 +02:00
rbock
9870d06652
Added links to upcoming talks
2014-08-09 21:13:27 +02:00
rbock
e18c3ec8b4
Added links to upcoming talks
2014-08-09 21:07:09 +02:00
rbock
e7a94d7e81
Merge tag '0.21' into develop
...
Bug fix release
field index calculation for multi-fields
2014-08-09 20:50:13 +02:00
rbock
8a3ac247c5
Merge branch 'release/0.21'
2014-08-09 20:49:44 +02:00
rbock
a59d7ed381
Fixed bug in field index calculation for multi_fields
2014-08-09 20:46:40 +02:00
rbock
ce0c344d0a
Merge tag '0.20' into develop
...
Added type-erasing bool_expression
Added value_or_null method/type
Several bug fixes and code cleanups
More tests, including the first test for intended compile failure (more to come)
2014-08-08 10:06:13 +02:00
rbock
b48014d1dc
Merge branch 'release/0.20'
2014-08-08 10:04:07 +02:00
rbock
5c4dc0caf0
Added a first experimental fail test
2014-08-08 07:57:08 +02:00
rbock
c9372eff89
Added serialization to MockDb run methods
...
Implicitly increased number of serialization tests.
Fixed serialization for logical_not
2014-08-04 18:24:51 +02:00
rbock
cc512d0955
Fixed text field stream operator
2014-08-03 09:27:20 +02:00
rbock
8b5fc67af6
Added generic boolean_expression
2014-08-02 09:18:01 +02:00
rbock
18dc6b1a03
Added value_or_null method/type
2014-08-01 18:21:23 +02:00
rbock
64c4ba029f
Adjusted usage of wrong_t.
...
I think there was a risk of wrong_t based static_asserts firing, if the
template parameters are used. Anyway, this is shorter.
2014-07-31 09:08:00 +02:00
rbock
88d28d6830
Moved value types out of detail namespace
2014-07-31 08:40:13 +02:00
rbock
c88a1097c2
Added some hints
2014-07-31 08:19:00 +02:00
rbock
ff9a6ff8f0
Added missing result_field.h
2014-07-30 23:10:45 +02:00
rbock
f60f1504b8
Extracted result_field_t from value types.
...
This is a preparation for adding serializer specializations for them
2014-07-30 22:37:07 +02:00
rbock
7c45e8b83f
Removed _name_t from and added alias operators to result field.
...
A result field really is just a value, if you insist on using it as a
select column, give it a name via an alias.
2014-07-30 22:03:11 +02:00
rbock
828106acbd
Moved shared result field code into separate file
2014-07-30 17:56:33 +02:00
rbock
a62c660ad5
Added some tvin-tests
2014-07-29 18:18:57 +02:00
rbock
c818e110b6
A few minor fixes and cleanup
2014-07-29 09:14:51 +02:00
rbock
b1f1de8a08
Allowing result fields to be used as arguments for queries
2014-07-29 08:57:55 +02:00
rbock
4be53d9933
Fixed a error in type set intersect calculation and in tracking outer tables
2014-07-28 21:36:53 +02:00
rbock
159b4c7152
Fixed error in determining can_be_null for joins
2014-07-28 21:14:20 +02:00
rbock
1eaee801ee
Merge tag '0.19' into develop
...
Added missing file
2014-07-28 17:11:48 +02:00
rbock
836ca56558
Merge branch 'release/0.19'
2014-07-28 17:11:41 +02:00