0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00
Commit Graph

658 Commits

Author SHA1 Message Date
rbock
404a8301a9 Added missing file 2014-08-22 22:18:04 +02:00
rbock
fd054d8a5a Fixed operators += et al 2014-08-22 12:26:48 +02:00
rbock
15c778844b Added a few missing const qualifiers 2014-08-21 13:21:49 +02:00
rbock
10853abb0a fixed static_assert message wording 2014-08-21 13:21:27 +02:00
rbock
a9339b54ad Fixed all_of(alias_table)
For real this time, I hope :-)
2014-08-21 13:00:40 +02:00
rbock
4974d13600 Fixed all_of(table_alias) 2014-08-21 11:44:07 +02:00
rbock
a235f3ddae Update README.md 2014-08-21 11:09:50 +02:00
rbock
9f35e33151 Merge tag '0.25' into develop
Fixes for gcc-4.8 under cygwin 64bit
eval commodity function for sending commands to the database and getting the return value back
Added alias method to wrapped values so that you can select constant values
2014-08-21 11:03:51 +02:00
rbock
2bd8bc9bb7 Merge branch 'release/0.25'
Conflicts:
	test_constraints/CMakeLists.txt
2014-08-21 10:57:31 +02:00
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