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

1530 Commits

Author SHA1 Message Date
Roland Bock
ccc75eafc7 Remove obsolete pointer indirection and some warnings 2022-01-12 07:06:06 +01:00
Roland Bock
d6aef0fa9b Remove obsolete pointer indirection, fix warnings and a leak
Leak: The sqlite3 connection handle destructor was
accidentally turned into a default constructor during the
migration of repositories.

Replaced the sqlite3 raw pointer with a unique_ptr to prevent
this kind of accident.
2022-01-11 07:35:20 +01:00
linrongbin16
23ae65dd67
add Dynamic-Insert.md (#413)
Add Dynamic-Insert.md
2022-01-11 07:31:24 +01:00
Roland Bock
3be4893bfe Remove obsolete pointer indirection in mysql connector 2022-01-09 09:12:23 +01:00
Roland Bock
40845e6b09 Remove incomplete connection pool
Porting the connection pool from sqlpp17 seems more promising, see #397
2022-01-08 19:02:29 +01:00
Roland Bock
7d74b1d1a6 Add a few words about Thread Safety. 2022-01-08 18:52:34 +01:00
Roland Bock
027223c515 Add basic documentation for transactions 2022-01-08 18:03:22 +01:00
linrongbin16
eb48909721 add example code for count(1) in Functions.md (#412)
* add doc for `count(1)`
2022-01-08 16:13:36 +01:00
Roland Bock
9b8463b1f6
Update Home.md 2021-12-31 17:12:14 +01:00
Roland Bock
db969e9886
Update Database.md 2021-12-31 17:11:18 +01:00
Roland Bock
b1b28715fe
Update Tables.md
Remove some fluff about code structure of tables.
2021-12-31 17:09:28 +01:00
Roland Bock
a9cd886139
Update Database.md
Replace outdated doc, partially addressing #404.
2021-12-31 16:54:38 +01:00
Roland Bock
a80b1d178c
Update README.md 2021-12-18 11:39:24 +01:00
Roland Bock
2bc89b34ad Merge branch 'release/0.61' 2021-12-18 10:52:54 +01:00
Roland Bock
181cc5fb04 Fix compiler warnings. 2021-12-11 19:53:35 +01:00
Roland Bock
91b7b34557 Fix broken test code, see #400 2021-12-11 19:31:25 +01:00
Andreas Sommer
36d3d30254 Support MySQL connect timeout option 2021-12-10 10:57:06 +01:00
Andreas Sommer
c37c8d36c5 Add missing includes 2021-12-10 10:49:37 +01:00
Leon De Andrade
e7590dc004
Add unsigned bind to postgresql (#395) 2021-12-04 10:52:26 +01:00
Leon De Andrade
d17bce9644
Add Connector CMake Logic (#394)
Add Connector Cmake logic

* Also install date when used with fetch content
* Install everything always
* Update documentation
* Add option to control dependency searching
* Adjust travis
2021-12-02 07:45:38 +01:00
Sergey Nikulov
2fecf6b6f1 deps: fixed condition for fetching date::date 2021-11-28 10:26:57 +01:00
Roland Bock
310a6245fa Added blob support for postgresql
Tests look reasonably fine.
2021-11-14 13:14:34 +01:00
Roland Bock
4c942600bb Started to migrate postgresql connector into sqlpp11 repo.
Removed timezone handling in the process (needs to be documented).
Note: on_conflict does not check for constraints (needs to be documented).
Note: some of the constraints tests seem to be aiming for a different static_assert.
2021-11-14 08:11:53 +01:00
Roland Bock
13698d07c9 Fix compile error for c++11 2021-11-11 07:21:28 +01:00
Roland Bock
554c31dc23 Add missing includes 2021-11-11 06:30:00 +01:00
Sylvain Joubert
b4acfa27e9 ddl2cpp: Fix compatibility with pyparsing 3+
Fix #388
2021-11-10 19:29:40 +01:00
Roland Bock
7be5797c0f
Update README.md 2021-11-06 17:50:32 +01:00
Roland Bock
539c29d5ae
Point to docs/ instead of Wiki. 2021-11-06 17:31:39 +01:00
Roland Bock
d2cd61ab3a Remove table::ref (see #345). 2021-11-06 15:11:45 +01:00
Roland Bock
138da005d5 Fixed missing include and two compiler warnings 2021-11-06 14:28:50 +01:00
Théo Delrieu
3f7fe2d0bb result: make nested iterator C++20 conformant 2021-10-28 06:17:01 +02:00
Roland Bock
8572c821aa Streamline test names and locations 2021-10-11 10:31:25 +02:00
Roland Bock
4a8c941916 Fixed global variable
This would have led to multiple definitions at best.
2021-10-11 10:03:58 +02:00
Roland Bock
bde010351d Fix missing inline attributes for mysql connector
Changed mysql usage tests to be linked into one executable.
This provokes multiple definition errors for non-inlined free
functions.
2021-10-11 09:04:57 +02:00
Roland Bock
caee00e849 Fix missing inline attributes for sqlite3 connector
Changed sqlite3 usage tests to be linked into one executable.
This provokes multiple definition errors for non-inlined free
functions.
Also ran clang-format on the changed headers.
2021-10-11 08:37:14 +02:00
Roland Bock
a3c2b186fb Remove same-name check for result columns
The compiler actually does a much better job at telling you if two
result columns have the same name as soon as you are trying to use
them.
In contrast to the static_assert, the compiler will even say which
name is ambiguous.
2021-10-03 09:35:11 +02:00
Roland Bock
4f99894cd4 Backported value_t 2021-09-07 10:14:35 +02:00
Roland Bock
136b533fcf Added shift left and shift right operators. 2021-09-04 13:40:03 +02:00
Roland Bock
24a0734245 Drop copy_tuple_arg.h
Transfer the required bits to select_column_list.h
2021-09-04 12:34:11 +02:00
Roland Bock
0181639cb3 Add test for table alias. 2021-09-04 11:05:49 +02:00
Roland Bock
1e2fff0ca9 Remove obsolete all_of_t
This was a wrapper used for the now-removed multi_column.
2021-09-04 11:04:51 +02:00
Roland Bock
f6bbac09e1 Remove superfluous include 2021-08-25 08:06:06 +02:00
Roland Bock
345b2e4931 Update travis script to include mysql and sqlite3 2021-08-25 07:55:40 +02:00
Roland Bock
04629c1b92 Fix warning 2021-08-22 12:47:17 +02:00
Roland Bock
64aba48cb9 Make sqlite3 connector header-only 2021-08-22 12:44:34 +02:00
Roland Bock
2bb68cc443 Add time_point test for value_or_null 2021-08-22 11:39:48 +02:00
Roland Bock
660e3bd1b6 Make mysql connector header-only 2021-08-15 16:51:27 +02:00
Roland Bock
7aa4edc0ea Fix documentation for enablng connector 2021-08-14 11:06:35 +02:00
Roland Bock
1d57d28994 Add order_by and limit for mysql remove and update
Thanks to ZerQAQ for suggesting this on github.
2021-08-14 10:56:45 +02:00
Roland Bock
c1e754d83c Update docs to include local connectors. 2021-08-14 10:28:20 +02:00