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

22 Commits

Author SHA1 Message Date
rbock
7f29a0b126 Fix expressions for unsigned integral as suggested by @fraillt 2019-08-20 18:32:16 +02:00
rbock
f6cb213e55 Fix without_table_check for alias expressions 2017-10-16 20:43:07 +02:00
rbock
7c20a68e0b Fixed result types for signed OP unsigned expressions. 2016-11-12 10:35:03 +01:00
rbock
94a0eee117 Enforce unsigned integral values for limit and offset 2016-09-06 22:34:59 +02:00
Aaron Bishop
2f1f34d0b1 fixed some expressions, added tests 2016-05-23 08:24:35 -04:00
Aaron Bishop
6bdf5ef1ee updated copyright 2016-05-23 08:16:27 -04:00
Aaron Bishop
a8fa0ddba0 reset to master, added unsigned_integral, removed time_of_day 2016-05-20 07:09:48 -04:00
rbock
3e008a2b04 Intermediate state 2016-04-06 10:16:35 +02:00
rbock
452175b514 Removed extra_tables (use without_table_check) instead 2016-03-20 09:13:50 +01:00
rbock
201b060d24 Added explicit without_table_check function
This removes the "required" tables from an expression
2016-03-20 09:13:50 +01:00
rbock
d15cb2a410 Added "real" cross join 2016-03-20 09:13:49 +01:00
rbock
cf5ddfde00 Added portable static asserts for joins and first static tests 2016-03-20 09:13:49 +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
sliser
761b5e53ab added msvc workaround
fixed minor bugs
2015-12-28 12:58:30 +03:00
rbock
b89e4c3e4f Fixed a bunch of missing initializations 2015-12-27 22:25:05 +01:00
rbock
bd385f7377 Added check if all selected columns are aggregates if group_by is present 2015-10-03 17:00:53 +02: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
b99e2f653b build a combined executable for all tests 2015-05-29 21:20:15 +02:00
Daniel Pfeifer
036d63e6cf drop suffix 'Test' from tests 2015-05-29 20:40:38 +02:00