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

103 Commits

Author SHA1 Message Date
Sergei Nikulov
9a5df4cca2 sqlite3: added real data type 2018-04-09 22:23:00 +03:00
Sylvain Joubert
805c6476f4 Add more PostgreSQL type mapping in ddl2cpp 2018-02-26 14:24:27 +01:00
Arne Luenser
5e8d81adbf Allow digits 0-9 in include guards 2018-02-13 10:29:28 +01:00
Roland Bock
a2b22b9bac
Merge pull request #215 from sjoubert/ddl2cpp_identity_naming
Add the possibility to keep the table and column names as in the DDL
2018-02-08 19:46:41 +01:00
Sylvain Joubert
d2d9a1693c Add the possibility to keep the table and column names as in the DDL 2018-02-08 13:23:14 +01:00
Sylvain Joubert
20ab921a5a Add mapping of the 'clob' type to the existing 'text' type 2018-02-08 13:22:47 +01:00
rbock
109b0af880 Add quoting for table and column names.
More reserved words have to be added to ddl2cpp
2017-11-26 19:19:26 +01:00
rbock
e90a988a69 Remove some commented lines 2017-11-07 13:00:33 +01:00
rbock
8d92de3fe9 Remove debug printout 2017-11-07 08:57:31 +01:00
rbock
fd939975ee Scan for unsigned integral columns 2017-11-06 21:37:10 +01:00
Serge Robyns
02cf37e3e3 Fixed mising namespace comment on tablenames (to silence clang-tidy). 2017-08-09 17:50:26 +02:00
rbock
cd778444d6 Merge branch 'release/0.49' 2017-06-04 15:58:40 +02:00
Andreas Sommer
e77639033a Support implicitly treating id column as auto-incrementing (e.g. for SQLite) 2017-06-03 00:41:44 +02:00
L3nn0x
55d0e2ac0d Added mediumint to ddl2cpp 2017-04-25 22:23:59 +02:00
rbock
f88efada67 Allow for "IF NOT EXISTS" in createTable in ddl 2017-03-05 19:50:55 +01:00
rbock
e53bbcc9bd Support for PostgreSQL serial 2017-03-05 19:13:26 +01:00
mlimber
3baa513a07 Allow nested namespaces on the command line
Allow the generator to handle nested namespaces like:
    ddl2cpp table.ddl table My::Nested::Namespaces
2017-01-07 00:16:50 -05:00
strangeqargo
3d2dae9bb1 fixed 2016-06-09 19:19:37 +03:00
strangeqargo
bcd7341476 fix formatting 2016-06-09 19:18:15 +03:00
“digitalist.ru”
ec6c36d541 fix typo 2016-05-15 01:05:08 +03:00
“digitalist.ru”
e80f06e2a3 fix 2016-05-15 01:02:46 +03:00
strangeqargo
de2409dd7e remove regression 2016-05-14 16:21:35 +03:00
strangeqargo
32dfdf7f4d merge with devel with regression 2016-05-14 16:11:48 +03:00
strangeqargo
11f40dc20c small cleanup, pre-merging 2016-05-14 15:57:26 +03:00
strangeqargo
897d581eec fix -[no-]- display in arguments 2016-05-14 14:33:28 +03:00
strangeqargo
a5421e8c34 adding help, remove debug output 2016-05-14 14:30:08 +03:00
strangeqargo
e457757ec5 heavy refactoring 2016-05-05 23:08:27 +03: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
“digitalist.ru”
6b7bdb1e62 fix my mistake 2016-03-26 14:51:25 +03: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”
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
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
rbock
1b2020a5d2 Allow table name in ticks
This is what mysqldump generates for instance.
2016-03-19 21:05:32 +01:00
rbock
9bc9575723 Cleanup for ddl2cpp (thanks, David) 2016-03-19 21:05:09 +01:00
rbock
af6811bb4d Adjusted ddl2cpp to work with pyparsing-2.10 2016-03-19 21:04:43 +01:00
rbock
f16643a1a0 Allow negative numbers in ddl2cpp 2015-12-23 18:28:15 +01:00
rbock
173d6adbc9 Moved data types into separate folder, split boolean
Each file within data_types/boolean/ is relatively short and easy to
grok.
2015-10-29 22:21:46 +01:00
rbock
84ab264702 Renamed date/date_time to day_point/time_point 2015-10-29 16:41:45 +01:00
rbock
56d312a59b Added compile time tests for date and date_time 2015-10-13 21:25:10 +02:00
rbock
b062f2ade7 Revert "Replaced char[] with char[<sizeof>] to please MSVC 2015"
This reverts commit 30a3a6b2ff.
2015-06-01 22:12:32 +02:00
rbock
30a3a6b2ff Replaced char[] with char[<sizeof>] to please MSVC 2015 2015-05-29 20:06:21 +02:00
rbock
97de6fad7f Adjusted license dates 2015-02-15 19:00:21 +01:00
rbock
74cafe35dd We now have unique name representations per name
Before this, there could be multiple classes representing multiple id
columns. Now there is one class representing ALL the name "id". Very
important for analyzing potential name clashes.
2014-11-30 19:40:34 +01:00
rbock
d75862365b Cleanup in generated code 2014-08-27 21:32:00 +02:00
rbock
80f09dc003 Use _traits in column specs 2014-07-23 18:06:33 +02:00
rbock
8ed0042b67 Added blob (currently synonym of text) 2014-07-14 18:17:53 +02:00
rbock
bef4d0874b Updates copyright year 2014-03-27 16:43:36 +01:00
rbock
ec2a8587d4 Added python code generator as an example 2014-01-28 20:53:22 +01:00