Volker Aßmann
f2ea61052e
Add an option to set a transaction isolation level to the generic
...
transaction interface and the connecctor api
2017-05-31 22:43:57 +02:00
Andreas Sommer
609766a9fe
Allow dynamic sort order
2016-09-16 19:30:17 +02:00
rbock
94a0eee117
Enforce unsigned integral values for limit and offset
2016-09-06 22:34:59 +02:00
rbock
cf83978118
Migrated select clauses to returning wrapped asserts
...
This helps a lot in testing static asserts (and debuging expressions
with MSVC)
2016-09-01 12:06:40 +02:00
rbock
57797ffffa
Added for_each_field function
2016-08-17 09:51:24 +02:00
rbock
a8b9014fc2
Enforce having expression to consist of aggregates
2016-03-20 09:13:50 +01:00
rbock
452175b514
Removed extra_tables (use without_table_check) instead
2016-03-20 09:13:50 +01:00
rbock
d15cb2a410
Added "real" cross join
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
rbock
b89e4c3e4f
Fixed a bunch of missing initializations
2015-12-27 22:25:05 +01:00
rbock
b41f1add8c
Made no_value to a more complete value type
...
This allows to select NULL via a case statement (seems to make more
sense than disallowing it).
2015-12-23 16:01:45 +01:00
rbock
333e55ea6d
Dynamic select did not accept some non-dynamic clauses.
2015-12-11 14:42:28 +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
rbock
bbe933f943
count is the first auto-aliased function
...
If used in an expression, count does not have an alias.
If used as a field in a select, it does have an alias.
2015-07-05 11:08:13 +02:00
rbock
303ee750ad
Added test for selecting a constant value
2015-06-26 16:16:07 +02:00
rbock
0807e57958
Fixed warnings about missing initializers
2015-05-30 16:45:06 +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