Commit Graph

31 Commits

Author SHA1 Message Date
An Tao
4e274b1a2e
Modify the orm command of drogon_ctl (#224) 2019-08-24 18:43:05 +08:00
An Tao
b5a142a10e
Fix bugs in default return values of functions (#220) 2019-08-22 22:23:50 +08:00
An Tao
f940b6f2cd
Modify some stuff (#216) 2019-08-17 20:05:32 +08:00
antao
40087fba9c Remove config.h
Modify the CMakeLists.txt

Remove the USE_ORM macro

Update trantor

Remove some std::dynamic_pointer_cast calls
2019-07-29 14:53:41 +08:00
antao
fa9376b89a Change escapes from '{{}}' to '[[]]' in views 2019-04-25 14:36:42 +08:00
antao
801cb8aa35 Modify some database classes 2019-03-07 11:56:20 +08:00
antao
926ac48b49 Modify drogon_ctl 2018-12-29 18:02:39 +08:00
antao
787120dda4 Add support for sqlite3 models 2018-12-29 13:12:36 +08:00
antao
71faac9fb2 Modify the drogon_ctl 2018-12-07 19:08:17 +08:00
antao
52546b7846 Modify the model generator for time-type columns 2018-12-03 10:13:31 +08:00
antao
25548eaaa0 The mysql client works 2018-12-03 10:13:31 +08:00
antao
cba0252bc1 Add FindMySQL.cmake to the project generated by drogon_ctl 2018-12-03 10:13:31 +08:00
antao
81540ca19b Add a database test 2018-11-27 17:37:41 +08:00
antao
afd1bf986a jsoncpp int64 2018-11-23 19:46:59 +08:00
antao
f829e10dfa Modify the signature of some functions 2018-11-20 14:54:51 +08:00
antao
fe16066a4b Add the toJson() method to the database model 2018-11-20 14:08:08 +08:00
antao
9ee0ef6cc8 Modify the creation of models 2018-11-20 10:54:46 +08:00
antao
ad37969535 1.Fix a memory bug;
2.Support for bytea type of postgreSQL;
2018-11-19 18:15:41 +08:00
antao
4b8971b258 Fix some warnings 2018-11-11 18:51:39 +08:00
an-tao
6e5eef9aaf Fix some warnings 2018-11-09 15:55:20 +08:00
antao
de3c31f34b Support timestamp column type 2018-11-09 15:46:39 +08:00
antao
f9cc77daa0 Fix a bug of struct tm 2018-11-09 15:46:39 +08:00
antao
32a7c5aff6 Support composite primary key 2018-11-09 15:46:39 +08:00
antao
4e060b7726 Support date type in ORM 2018-11-09 15:46:39 +08:00
an-tao
fc7ddd5b6c Fix some warnings in linux 2018-11-09 15:46:39 +08:00
antao
acaa604559 Fix some bugs in models 2018-11-09 15:46:39 +08:00
antao
6810dd261c Modify models template 2018-11-09 15:46:39 +08:00
antao
16d6caedb0 Remove 'setter' methods of auto-increasing columns 2018-11-09 15:46:38 +08:00
antao
143b62b36b Fix some bugs in creating models 2018-11-09 15:46:38 +08:00
antao
d340e1cc10 Update model template files 2018-11-09 15:46:38 +08:00
antao
0d77fa1490 Improve the function of creating models 2018-11-09 15:46:38 +08:00