Commit Graph

9 Commits

Author SHA1 Message Date
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
An Tao
10db494556
Add database tests in the travis CI (#214) 2019-08-16 23:41:03 +08:00
antao
1f8be1ce8c Add some Travis CI tests 2019-03-26 15:25:22 +08:00
antao
b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao
c23d7417a8 Modify some comments 2018-11-16 18:25:41 +08:00
Yun Liu
c19c536f6c fixed some bugs 2018-11-16 17:26:35 +08:00
Yun Liu
2a81864b72 update script and add more comments 2018-11-16 15:31:08 +08:00
an-tao
6adc6ce9a6 add Cookie class 2018-06-19 16:55:25 +08:00
an-tao
f6993cf12e build.sh 2018-05-11 17:51:01 +08:00