0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-12-27 00:16:59 +08:00

22 Commits

Author SHA1 Message Date
Daniel Evers
460557c6e0 Added string_view tests and C++17 tests for travis 2019-02-02 11:00:59 +01:00
rbock
ef01958b19 Add comments to code that is required to not compile 2018-06-26 08:07:08 +02:00
rbock
5e96551f83 Prevent unconditional joins, and naked bool in where() or boolean expressions
- `.from(t1, t2)` produces an unconditional join if you forget to add a condition in the .where()
  sqlpp11 therefore now deprecates unconditional joins.
- more often than not, writing  something like `where(name == "doe")`, you
  meant to write `where(t.name == "doe")`. It is hard to find bugs when
  the former expression compiles because you happen to have a variable
  `name` in the current scope as well.
  sqlpp11 therefore now deprecates `.where(bool)` and disallows
  raw bool values boolean expression like `something and bool`
  wrap bools in sqlpp::value(), if you REALLY want a bool value here
2016-03-20 09:13:49 +01:00
rbock
5912752a68 Fixed test for missing conversion operator 2015-12-28 18:36:06 +01:00
rbock
cda1249b69 See what MSVC says in case of an invalid conversion 2015-12-28 18:24:59 +01:00
rbock
b89e4c3e4f Fixed a bunch of missing initializations 2015-12-27 22:25:05 +01:00
rbock
09f23cea0a Reformatted using clang-format
Please use clang-format before submitting code, e.g via the pre-commit
supplied in the repo (thanks AndiDog)
2015-09-13 21:33:19 +02:00
Reto Schneider
5756b2355f Remove trailing spaces. 2015-08-05 14:43:21 +02:00
Daniel Pfeifer
b0453ffb1c make use of usage requirements 2015-05-29 22:10:04 +02:00
Daniel Pfeifer
b8a93a8aa3 add constraint tests as test cases 2015-05-29 21:39:03 +02:00
rbock
d2975b39fb Allow sqlpp be compiled as sub project 2015-03-08 18:36:42 +01:00
rbock
57ceefbd0c Added missing checks for aggregate functions 2015-02-24 08:02:14 +01:00
rbock
97de6fad7f Adjusted license dates 2015-02-15 19:00:21 +01:00
rbock
ea30acaf26 Merge branch 'release/0.28' 2014-09-30 07:20:46 +02:00
rbock
6dbdd39ce1 Ensure that expression do not contain aggregate functions 2014-09-17 23:03:51 +02:00
rbock
3cab459077 Added tag to indicate that an expression contains an aggregate function 2014-09-17 22:22:45 +02:00
Markus Elfring
c227d46cf4 Bug #14: Completed quoting for parameters of some CMake commands
A wiki article pointed out that whitespace will only be preserved for parameters
in CMake commands if passed strings will be appropriately quoted or escaped.
http://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes.

Quoting was added so that more places should also handle file names correctly
which contain space characters or semicolons eventually.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2014-09-01 19:17:03 +02:00
Roland Bock
342a42758a Fixed test_sqlpp_test_constraints to work with out of source build 2014-08-24 10:46:08 +02:00
rbock
404a8301a9 Added missing file 2014-08-22 22:18:04 +02:00
rbock
f859f7fe4a Added must_not_update-test 2014-08-18 19:17:59 +02:00
rbock
66ffff78ad Added tests for insert constraints 2014-08-16 18:47:06 +02:00
rbock
5c4dc0caf0 Added a first experimental fail test 2014-08-08 07:57:08 +02:00