rbock
97256167fb
Merge tag '0.10' into develop
...
Minor interface cleanup
2014-02-01 09:38:01 +01:00
rbock
e9bf70a913
Merge branch 'release/0.10'
2014-02-01 09:37:04 +01:00
rbock
9c75c7b873
Removed a whole lot of unnecessary(?) perfect forwarding.
...
The code is much easier to read, the optimizer should take care of
pretty much everything, AND it copiles even faster without the code
being riddled with std::forward and std::decay
2014-01-30 08:43:55 +01:00
rbock
9bcae0867f
Moved "wrong" template to namespace vendor
2014-01-29 14:28:07 +01:00
rbock
b90eb7192a
Renamed run and prepare methods to _run and _prepare
...
_methods are to be used by vendors
2014-01-29 13:11:11 +01:00
rbock
1c768893d6
Updated README.
2014-01-29 13:10:45 +01:00
rbock
f299ef215d
Merge branch 'release/0.9'
...
Conflicts:
tests/CMakeLists.txt
2014-01-28 20:56:06 +01:00
rbock
ec2a8587d4
Added python code generator as an example
2014-01-28 20:53:22 +01:00
rbock
375dec25f8
Minor code cleanup
2014-01-28 18:03:14 +01:00
rbock
687fe13055
Added constness to char_result_row characters
2014-01-28 06:56:30 +01:00
rbock
25c1cfb399
Cleanup some minor bind issues
2014-01-28 06:50:21 +01:00
rbock
d85fdcd62b
Removed unnecessary header
2014-01-27 18:50:22 +01:00
rbock
05ca005e1b
Fixed bug in text results
...
text results never had a reasonable length
2014-01-27 13:40:52 +01:00
rbock
a9cfe534ef
Fixed serialization of multi-row inserts
2014-01-27 12:48:24 +01:00
rbock
dda4fc2586
Small fix in result row
2014-01-27 12:12:38 +01:00
rbock
471dffebc0
Updated joins and updated columns to work with sqlite3
...
The new behaviour is closer to the standard, I think
2014-01-27 11:47:22 +01:00
rbock
d4d8429947
Added missing include directive
2014-01-26 22:58:38 +01:00
rbock
4869758e35
Renamed query -> statement
2014-01-26 22:39:44 +01:00
rbock
dfcd372611
tvin works with const char*, too
2014-01-26 15:44:44 +01:00
rbock
b0e7395f47
Using assignments in add_values now
...
This makes mistakes much less likely
2014-01-26 15:09:30 +01:00
rbock
5ef5259988
Added columns and add_values to insert for multi row inserts
...
Need to change add_values method to use assignments, though.
2014-01-26 13:24:42 +01:00
rbock
f802300685
Added sqlpp::null and sql::default_value for insert and update
2014-01-25 22:38:16 +01:00
rbock
f443564d62
Minor code cleanup
2014-01-24 00:31:53 +01:00
rbock
019a920739
Added a .where(bool) to choose all or no row
2014-01-22 22:53:23 +01:00
rbock
6e55f8f6cd
Fixed a few bugs found during mysql tests
2014-01-22 18:35:08 +01:00
rbock
4527ecaefb
Merge branch 'feature/distinct_aggregates' into develop
2014-01-22 09:32:40 +01:00
rbock
abce8592e6
Added DISTINCT flag to avg and sum
2014-01-22 09:31:36 +01:00
rbock
34f6c7a2eb
Added optional DISTINCT flag to count
2014-01-21 23:42:27 +01:00
rbock
7eba151b59
Merge branch 'feature/easier_dynamics' into develop
2014-01-21 23:21:01 +01:00
rbock
370c61870b
Updated tests a bit
2014-01-21 23:19:03 +01:00
rbock
a22b07aa03
Added more tests (and fixes) for dynamic columns and flags
2014-01-21 09:50:58 +01:00
rbock
075e63c486
Added test for (empty) dynamic select flag list
2014-01-20 23:17:07 +01:00
rbock
ee7cda0a5d
Started to change the way dynamic columns and flags are specified
2014-01-20 21:26:16 +01:00
rbock
7992a82615
Some notes
2014-01-20 10:48:28 +01:00
Mateusz Loskot
62759e8de1
Fix for CMake build type default flags being lost
...
The CMakeLists.txt adds -std=c++11 and related compiler flags, but looses default flags specified by CMake build type.
For example, -DCMAKE_BUILD_TYPE=Debug has no effect, as -g flag gets lost.
2014-01-19 20:02:00 +01:00
Mateusz Loskot
2734675750
Add headers to sources to enable file browsing in IDEs
...
By adding headers to sources of targets, CMake adds them to list of project files generated for IDEs.
This is non-intrusive trick, which does not affect targets compilation.
2014-01-19 19:56:37 +01:00
rbock
83afe20923
Merge branch 'feature/vendor_neutrality' into develop
2014-01-19 19:53:17 +01:00
rbock
31127812a0
Added some template aliases to ease specialization and added a few more operator overloads
2014-01-19 18:11:05 +01:00
rbock
258139f5d1
Merge pull request #3 from mloskot/cmake-headers-to-sources
...
Add headers to sources to enable file browsing in IDEs
2014-01-18 14:11:35 -08:00
rbock
63ac89accb
Fixed some "const" bugs and a parameter_tuple bug
2014-01-18 22:40:13 +01:00
Mateusz Loskot
aad31d13cc
Add headers to sources to enable file browsing in IDEs
...
By adding headers to sources of targets, CMake adds them to list of project files generated for IDEs.
This is non-intrusive trick, which does not affect targets compilation.
2014-01-18 21:21:20 +00:00
rbock
bd73ba7ead
Merge pull request #2 from mloskot/cmake-flags-fix
...
Fix for CMake build type default flags being lost
2014-01-18 12:55:47 -08:00
rbock
24b44fae65
Re-animated all tests
2014-01-18 20:58:51 +01:00
rbock
87302fa27f
Make g++-4.8 compile again
2014-01-18 16:10:46 +01: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
Mateusz Loskot
38071e8b77
Fix for CMake build type default flags being lost
...
The CMakeLists.txt adds -std=c++11 and related compiler flags, but looses default flags specified by CMake build type.
For example, -DCMAKE_BUILD_TYPE=Debug has no effect, as -g flag gets lost.
2014-01-18 14:03:30 +00:00
rbock
93129be748
Added missing interpreter specializations, especially for serializable
2014-01-17 09:56:35 +01:00
rbock
9826ef79e4
Added interpreters to is_null, multi_column, alias and select pseudo table
2014-01-16 22:31:43 +01:00
rbock
1c4d041b89
Cleaned up some outdated serialize functions
2014-01-15 23:05:24 +01:00
rbock
afcc62fc75
Added interpreters for a bunch of functions and table aliases
2014-01-15 19:42:14 +01:00