Commit Graph

13 Commits

Author SHA1 Message Date
An Tao 58702dc41e
Port drogon to Windows (#335)
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
An Tao 70eda27427
Add the ability to create restful API controllers (#244)
* Add the ability to create restful API controllers

* Update the model.json template file

* Modify the 'create controller' command of the drogon_ctl

* access column values by column array indexes instead of column names when constructing an instance of a model class

* Fix a bug of mysql database

* Add some static SQL into models

* Add validations to models

* Add setToNull method to models

* Support 'where in' substatement

* Delay rendering from json to the response body. This allows users to modify the json object before sending a response.

* Add synchronous method to the HttpClient class
2019-09-30 21:34:30 +08:00
Daniel Mensinger 795079531a cmake: use export namespace for Drogon::Drogon (#255)
* cmake: use ${PROJECT_NAME} instead of drogon everywere

* cmake: use export namespace instead of dummy library
2019-09-26 19:33:58 +08:00
An Tao 195bc5299e
Add comments for doxygen (#233) 2019-09-06 23:10:36 +08:00
antao 0a3d27a5b0 Optimize response caching 2018-10-13 21:49:37 +08:00
an-tao 45fc7eba9f update .gitignore 2018-06-26 21:39:50 +08:00
an-tao 95b83206fb Write the compilation configuration to config.h 2018-06-14 14:25:57 +08:00
an-tao 5bf0746673 chmod 2018-06-06 09:35:04 +08:00
an-tao 56542a68d2 drogon_ctl add version command 2018-05-28 17:08:12 +08:00
an-tao 3578674fa5 add version 2018-05-28 14:34:47 +08:00
an-tao 3641a3edef add HttpServer class 2018-04-28 14:37:32 +08:00
an-tao e3f56d75aa add trantor lib 2018-04-27 11:00:24 +08:00
an-tao 0683a30703
Initial commit 2018-04-27 10:49:26 +08:00