0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00
Commit Graph

7 Commits

Author SHA1 Message Date
rbock
1a0f0ea0ab Everything compiles again. 2016-09-01 21:46:42 +02:00
rbock
a8b9014fc2 Enforce having expression to consist of aggregates 2016-03-20 09:13:50 +01: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
6dcdc419c1 Merge branch 'release/0.35'
Conflicts:
	README.md
2015-12-29 11:03:17 +01:00
sliser
b812ed5120 fixed appveyor build 2015-12-28 16:42:26 +03:00
rbock
b0d89520a6 Added a bunch of tests for static_assert in insert 2015-10-06 22:08:44 +02:00
rbock
3c699a51b6 Added test folder for static assert tests (more tests will follow) 2015-10-03 21:20:01 +02:00