0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 12:51:13 +08:00
Commit Graph

1549 Commits

Author SHA1 Message Date
Roland Bock
37078eb283 Merge tag '0.59' into develop
Release 0.59

Add -identity-naming argument from ddl2cpp to sqlite2cpp.py
Add wishlist.md
Add vcpkg installation instructions
Add minimal over() implementation for aggregate functions
Multiple bug fixes
2020-05-06 22:01:02 +02:00
Roland Bock
2b5f8d7666 Merge branch 'release/0.59' 2020-05-06 22:00:00 +02:00
faizol
23cb8f4c86 changed header to use stddef.h 2020-05-06 06:23:24 +02:00
faizol
b336346467 changed type_set.h to use cstddef so that size_t would be consistent across the library 2020-05-06 06:23:24 +02:00
faizol
cd20805b3e update for gcc10 compilation 2020-05-06 06:23:24 +02:00
MacDue
73df6df867 Make connection pool useable 2020-02-15 08:17:37 +01:00
MacDue
a51b6da3bd
Minimal over() implementation for aggregate functions (#316)
* Minimal over() implementation for aggregate functions

* auto_alias support for over()

* add missing typename

* Test .over() serialization

* Add missing return to test

* Fix testing over auto alias

Co-authored-by: Ben Maxwell <42680490+MaciumDue@users.noreply.github.com>
2020-02-15 07:54:22 +01:00
NancyLi1013
6d2b64eff9
Update vcpkg installation instructions (#314)
* Update vcpkg installation instructions

* Update
2020-02-13 16:16:26 +01:00
NancyLi1013
e35785cab2 Add vcpkg installation instructions 2020-02-12 11:04:36 +01:00
Sylvain Joubert
c1c1626242
Make sure find_package(Sqlpp11) can be done multiple times (#306)
It is expected that CMake packages can be found multiple times without
errors. The target generated and defined by CMake, e.g. in a
*Targets.cmake file have a similar guard.
2020-02-08 08:38:41 +01:00
Sylvain Joubert
183a05156a
Add begin and end keywords in the reserved names to be escaped (#310) 2020-02-06 10:58:53 +01:00
Uy Ha
c021c49b0b Use Python3 for test_scripts (#298)
* Use Python3 for test_scripts
* Update travis and cmake
2019-10-14 12:09:18 +02:00
rbock
bb77cc1459 Fix missing space for operator- 2019-10-09 07:25:24 +02:00
rbock
268c176d8a Adjust sample.sql and ddl2cpp to match Sample.h 2019-10-05 10:20:15 +02:00
rbock
5b2b175b21 Remove aggregate attribute from trim() 2019-08-28 09:42:48 +02:00
Roland Bock
4f9f001fbd
Fix some formatting in wish list 2019-08-20 18:58:24 +02:00
rbock
5f5d611703 Add wishlist.md 2019-08-20 18:53:49 +02:00
rbock
7f29a0b126 Fix expressions for unsigned integral as suggested by @fraillt 2019-08-20 18:32:16 +02:00
rbock
43ec2343c3 Fix serialization of empty dynamic_where
It was serialized with a dummy expression, which turned out to be
problematic for some vendors, see #282
2019-08-20 10:31:54 +02:00
Brett Boston
a3970ceae9 Add -identity-naming argument from ddl2cpp to sqlite2cpp.py 2019-07-10 07:11:10 +02:00
rbock
daa672e6f0 Fix joins with CTEs 2019-05-25 14:04:44 +02:00
rbock
c4db147ca0 Merge tag '0.58' into develop
Various enhacements

 - new data types for ddl2cpp
 - new option to generate one header file per table
 - support for string_view
 - support for INSERT INTO from SELECT
 - multiple examples
2019-04-18 09:28:10 +02:00
rbock
e9f6f07677 Merge branch 'release/0.58' 2019-04-18 09:15:31 +02:00
rbock
60267ab952 Added an example for reading time point values 2019-04-18 09:02:16 +02:00
rbock
c729387ab6 Allow INSERT INTO from SELECT 2019-04-11 11:30:25 +02:00
rbock
b27406a87e Make implicit array to pointer decay explicit 2019-03-22 05:40:03 +01:00
rbock
6f39293a69 Maybe make MSVC happy again...
Thanks, @juandent for the change suggestion
2019-03-19 06:38:01 +01:00
rbock
80e25a5e52 Add AUTOINCREMENT support in ddl2cpp for sqlite3 2019-03-03 09:11:33 +01:00
rbock
d1b8bde8f1 Cleanup bogus return statements 2019-02-27 13:53:28 +01:00
Daniel Evers
9367071764 enable C++ 17 tests only on OS X
(the clang and gcc versions on Linux are too old)
2019-02-02 11:00:59 +01:00
Daniel Evers
42de1557b2 need to override CMAKE vars before building 2019-02-02 11:00:59 +01:00
Daniel Evers
949089d9f3 avoid expanding empty variables 2019-02-02 11:00:59 +01:00
Daniel Evers
a9f5498452 suspicious build error on travis 2019-02-02 11:00:59 +01:00
Daniel Evers
076c9d6474 travis syntax problems... 2019-02-02 11:00:59 +01:00
Daniel Evers
460557c6e0 Added string_view tests and C++17 tests for travis 2019-02-02 11:00:59 +01:00
Daniel Evers
ac3a8290ff support for std::string_view when using C++17 2019-02-02 11:00:59 +01:00
rbock
cf02a444d7 Add custom query insert example 2019-01-23 15:34:47 +01:00
rbock
052dbe10b2 Re-added accidentally removed real type to ddl2cpp 2018-12-24 17:44:17 +01:00
rbock
7e2e1abbfc Add example for MYSQL's ON DUPLICATE KEY UPDATE 2018-12-24 17:32:16 +01:00
rbock
dd73319bcf Add boolean expression test 2018-12-07 09:42:43 +01:00
Egor Pugin
9de56a748c Add explicit greater condition. 2018-12-06 20:19:19 +01:00
fjkfwz
da5cf192e9 Fix blob field display 2018-10-28 07:33:25 +01:00
Roland Bock
9d430b2e20
Merge pull request #249 from Erroneous1/feature/split_tables
Add option to ddl2cpp to enable splitting tables
2018-09-25 16:38:51 +02:00
Aaron Bishop
4c53ffcb3f Add option to ddl2cpp to enable splitting tables into individual header files 2018-09-25 08:43:10 -04:00
Roland Bock
f204bf0b9d
Merge pull request #233 from egorpugin/develop
Add simplified sqlite2cpp generator script that uses sqlite3 schema parsing.
2018-08-14 06:51:20 +02:00
Roland Bock
1f1ec60374
Merge pull request #246 from sjoubert/test_functions_typo
Fix typos in function's tests
2018-08-14 06:46:20 +02:00
Roland Bock
80ccb35355
Merge pull request #247 from sjoubert/multi_insert_value_or_null
Add support of value_or_null in multi-insert
2018-08-13 22:22:03 +02:00
Sylvain Joubert
114b9ab77a Add support of value_or_null in multi-insert 2018-08-13 21:31:09 +02:00
Sylvain Joubert
3faa8fa8bc Fix typos in function's tests 2018-08-13 12:59:30 +02:00
Roland Bock
c789f91901
Merge pull request #242 from L3nn0x/master
Added mediumint unsigned to dll2cpp
2018-07-16 06:52:51 +02:00