Roland Bock
7ed4ba9860
Merge pull request #85 from digitalist/ddl2cpp
...
Ddl2cpp
2016-05-05 21:38:24 +02:00
Christian Dávid
5bd9614754
Corrected path to date in .appveyor.yml (again)
2016-05-05 20:31:28 +02:00
Christian Dávid
bd22cdbb61
Corrected path to date in .appveyor.yml
2016-05-05 16:58:19 +02:00
Christian Dávid
21ea63c050
Adopted .appveyor.yml to find the date library
2016-05-05 10:31:58 +02:00
Christian Dávid
bcc3eea988
Updated travis build config
...
It sets the path to the date library correctly now.
2016-05-05 10:15:26 +02:00
Christian Dávid
7097d4a325
Approved error messages of FindHinnantDate.cmake
...
Also added a documented variable to give hints.
2016-05-05 10:09:04 +02:00
strangeqargo
ffc2dd0f3c
doing
2016-05-05 02:40:44 +03:00
strangeqargo
42dfa6cddc
argument parsing, fail on parsing
2016-05-05 01:58:53 +03:00
strangeqargo
101a02e9e8
adding comment
2016-05-04 23:13:17 +03:00
strangeqargo
f0d2bf6189
ddl2cpp mysql now(). Too many commits.
2016-05-03 15:49:42 +03:00
strangeqargo
222b3924e2
Merge branch 'ddl2cpp' of github.com:digitalist/sqlpp11 into ddl2cpp
2016-05-03 15:47:45 +03:00
strangeqargo
87e4f01d17
Merge branch 'ddl2cpp' of github.com:digitalist/sqlpp11 into ddl2cpp
2016-05-03 15:43:36 +03:00
strangeqargo
94945cc950
ddl2cpp mysql now() support, minor PEP-8 edits
2016-05-03 15:43:07 +03:00
strangeqargo
f32dd7a65c
-m
2016-05-03 15:42:02 +03:00
Aaron Bishop
24ca3b2217
added common SQL data types like binary and bit
2016-05-02 08:08:34 -04:00
Christian Dávid
f41770dbe2
Added FindHinnatDate.cmake to prevent usage of preset paths
...
Howard Hinnant's date and time library is found using a cmake Find-module.
Commit 377fbc8958b26cb2c0151b3068bce07dff3811ec was reverted to ensure that the
exported target has the correct properties.
2016-05-01 20:05:50 +02:00
Roland Bock
e271e3e4fb
Update README.md
2016-04-24 17:36:36 +02:00
rbock
690028fb84
Added test to prepare statement with zero parameters
2016-04-24 10:30:06 +02:00
rbock
4e4cb9cc4c
Minor cmake fix
...
At least I hope it's a fix
2016-04-22 08:50:58 +02:00
rbock
c3a0ca64e5
Merge tag '0.37' into develop
...
Maintenance release, fixing regressions
2016-04-17 17:33:47 +02:00
rbock
dde22b861e
Merge branch 'release/0.37'
0.37
2016-04-17 17:33:27 +02:00
rbock
38e5b21dbe
Fixed regressions occurring in sqlpp11-connector-mysql
2016-04-17 17:31:15 +02:00
rbock
e629086e72
Merge tag '0.36' into develop
...
Several breaking changes:
* `from(a,b)` not allowed anymore, please use explicit joins
* `where(true)` not allowed anymore, please use `.unconditionally()` or sqlpp::value(true)
* `some_sql_expression and true` not allowed anymore, please use `tab.col == sqlpp::value(true)` if you really want to express this.
* `having(expression)` requires `expression` to be made of aggregates, e.g. columns named in `group_by()` or aggregate functions like `count()` or constant values.
* `where()` and `having()` accept only one parameter
Several more clauses are now available as free functions.
Lots of additional tests.
2016-04-17 16:11:28 +02:00
rbock
8bd12f02a4
Merge branch 'release/0.36'
0.36
2016-04-17 16:05:10 +02:00
rbock
83aeba05d1
Merge branch 'ianda-develop' into develop
2016-04-17 13:53:17 +02:00
rbock
b1718f5c5e
Merge branch 'develop' of https://github.com/ianda/sqlpp11 into ianda-develop
2016-04-17 13:52:50 +02:00
rbock
7a483d12b2
Removed two obsolete files
2016-04-17 13:28:16 +02:00
rbock
aebc28eb72
Merge branch 'feature/msvc-again-04' into develop
2016-04-17 13:23:17 +02:00
rbock
c63aac480f
Choosing the "correct" floor method even with MSVC
2016-04-17 11:03:21 +02:00
rbock
91defe2450
MSVC update 2 already has std::chrono::floor
2016-04-17 10:45:31 +02:00
rbock
914ecae7c2
Added more tests and fixed dynamic free clauses
2016-04-16 09:51:13 +02:00
rbock
be7403c1e7
Added missing test file
2016-04-15 19:05:42 +02:00
rbock
10bdf4cfca
Added a few serializer tests for free function select clauses
2016-04-15 18:21:22 +02:00
rbock
1e1b388a67
Added factory functions for several select sub clauses
2016-04-15 09:37:34 +02:00
rbock
a3f29e18e7
Checkout a specific version of date for CI
2016-04-14 16:41:17 +02:00
rbock
cc56faf98c
Specific comparison operators
...
In case we want to turn operator== into a free function, this will
prevent premature instantiation of wrap_operand
2016-04-14 09:59:35 +02:00
rbock
f18ab542b4
Made the check for date.h a bit more user friendly
2016-04-11 19:56:32 +02:00
rbock
434f6911b7
Trailing return types in basic expression operators
2016-04-10 09:39:38 +02:00
rbock
4d538e8cb2
msvc is not very good with template aliases in variadic templates
2016-04-10 07:53:18 +02:00
rbock
c9f4e1b4a7
More cleanup
2016-04-09 22:50:18 +02:00
rbock
95ffdb2967
More cleanup
...
... and maybe MSVC will be happy again, too?
2016-04-09 22:24:50 +02:00
rbock
fbbdc75e64
Added missing file (with some more tests)
2016-04-09 21:53:39 +02:00
rbock
dff0c9942a
A bit of cleanup
2016-04-09 21:46:31 +02:00
rbock
e1ec4a8f53
Merge branch 'feature/make_msvc_compile_again' into develop
...
This has actually led to cleaner code this time
2016-04-09 11:10:58 +02:00
rbock
0fb188c67d
More re-arrangements and preventing self-compare in in() again
2016-04-09 10:55:46 +02:00
rbock
6c1b190dcc
Adding back conditions
2016-04-09 10:23:15 +02:00
rbock
403d6b644a
Another arrangement
2016-04-09 10:06:12 +02:00
rbock
c199a4f6a4
Re-arrange in() parameter checks
2016-04-09 09:44:52 +02:00
rbock
7abd620465
Trying to appease MSVC
2016-04-08 21:51:00 +02:00
rbock
3bb0389e38
Re-arranged README
2016-04-08 21:40:01 +02:00
Roland Bock
5899dbf19a
Create ChangeLog.md
2016-04-08 21:21:28 +02:00
rbock
7bf7388907
Added more tests
2016-04-08 21:09:36 +02:00
rbock
9d6ad6511f
Merge branch 'feature/prevent_self_comparison' into develop
2016-04-08 16:17:42 +02:00
rbock
a77f26ffe3
Prevent self-comparison, added more tests, fixed some expression checks
2016-04-07 21:53:19 +02:00
rbock
3e008a2b04
Intermediate state
2016-04-06 10:16:35 +02:00
rbock
90d769520c
Merge branch 'develop' of https://github.com/rbock/sqlpp11 into develop
2016-03-31 07:12:22 +02:00
rbock
0b8ccaa985
Added insert_set to create first custom insert
2016-03-31 07:11:41 +02:00
Roland Bock
ba95748b91
Merge pull request #74 from digitalist/master
...
fix my mistake
2016-03-26 16:32:02 +01:00
“digitalist.ru”
6b7bdb1e62
fix my mistake
2016-03-26 14:51:25 +03:00
Roland Bock
c2c424f856
Merge pull request #73 from niXman/develop
...
SQLPP_PRIMARY_KEY & SQLPP_AUTO_INCREMENT is fixed
2016-03-25 07:50:23 +01:00
rbock
712c79cb8a
Added static_assert tests for dynamic from.add()
2016-03-24 19:54:16 +01:00
niXman
93211cac5f
SQLPP_PRIMARY_KEY & SQLPP_AUTO_INCREMENT is fixed
2016-03-24 12:57:08 +02:00
rbock
dec3f5b3df
Migrated from::add() to portable static assert
2016-03-23 08:20:52 +01:00
rbock
e478695891
Fixed function name
2016-03-22 10:03:37 +01:00
rbock
67af04e8f8
Fixed function name
2016-03-22 09:42:08 +01:00
rbock
cf9ec10ae4
Added table checks for dynamic_join(x).add(y)
2016-03-22 09:23:37 +01:00
rbock
ec81299259
Added serializer tests for verbatim_table
2016-03-22 09:23:12 +01:00
Roland Bock
4797521031
Merge pull request #71 from digitalist/readme
...
Readme and ddl2cpp error handling
2016-03-22 07:06:18 +01:00
“digitalist.ru”
772109fc87
ddl2cpp solutions
2016-03-22 00:28:06 +03:00
“digitalist.ru”
64a122b64a
ddl2cpp solutions
2016-03-22 00:27:01 +03:00
“digitalist.ru”
c43b8272ba
readme/ddl2cpp KeyError handling, merging
2016-03-21 22:04:34 +03:00
“digitalist.ru”
51f125e763
readme/ddl2cpp KeyError handling
2016-03-21 22:02:41 +03:00
“digitalist.ru”
0ed744d70b
readme/ddl2cpp KeyError handling
2016-03-21 21:48:11 +03:00
“digitalist.ru”
b7b651e98b
readme/ddl2cpp KeyError handling
2016-03-21 21:38:37 +03:00
rbock
3be1ca1098
Added verbatim tables to join serialization tests
2016-03-21 09:05:55 +01:00
rbock
dc9f03fb56
Added enum and set to be interpreted as text
...
Maybe we will need a better mapping one fine day...
2016-03-20 18:27:38 +01:00
“digitalist.ru”
0f7244e295
fix README
2016-03-20 17:41:05 +03:00
rbock
db2e36cb6e
Merge branch 'develop' of https://github.com/rbock/sqlpp11 into develop
2016-03-20 09:15:30 +01:00
rbock
f546805ee2
Made dynamic select column list a bit more customization friendly
...
See https://github.com/matthijs/sqlpp11-connector-postgresql/issues/8
2016-03-20 09:13:50 +01: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
f3bd2f01ab
Removed the add_ntc functions (use without_table_check)
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
a836e8c8d8
Simplified where() to have one argument only
2016-03-20 09:13:50 +01:00
rbock
1a93218dcc
Removed multi-argument option for having
2016-03-20 09:13:50 +01:00
rbock
e1c6a92123
Removed obsolete file
2016-03-20 09:13:49 +01:00
rbock
aceede57eb
Fixed outer-tables for joins, added tests
2016-03-20 09:13:49 +01:00
rbock
0a325e4471
Added more serializer tests for where()
2016-03-20 09:13:49 +01:00
rbock
226d45d44c
Added serializer tests for where()
2016-03-20 09:13:49 +01:00
rbock
9b8b2504dd
Fixed narrowing warning/error
2016-03-20 09:13:49 +01:00
rbock
67bfb68f07
Added serialize tests for in()
2016-03-20 09:13:49 +01:00
rbock
b6c5cb8764
Added several serialization tests for from() and joins
2016-03-20 09:13:49 +01:00
rbock
d15cb2a410
Added "real" cross join
2016-03-20 09:13:49 +01:00
rbock
20b74206ae
Added tests for dynamic joins
2016-03-20 09:13:49 +01:00
rbock
225d387967
Added portable static asserts for (dynamic) join.on()
...
Also removed inaccessible code for adding more conditions to on()
dynamically. If someone should ever want that, he/she should use
dynamic_where(), I guess.
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
ab875fc79b
Introduced dynamic_cross_join (simplifying dynamic_join)
2016-03-20 09:13:49 +01:00
rbock
20adfb66c9
Made from() testable with portable static asserts, added tests
...
Added cross_join_t, simplifying join a lot
2016-03-20 09:13:49 +01:00
rbock
f774dca912
Cleaning up static asserts for .where(true)
2016-03-20 09:13:49 +01:00
rbock
8079015d2c
Removed where(true).
2016-03-20 09:13:49 +01:00