Closed ericjansen closed 1 month ago
Should have been fixed by yesterday's pr, please check it out.
@ericjansen any news?
Hi @hwc0919 Thank you for the support. It's still the same. I have pulled the latest commit, and compiled and installed. I tried the simple testing to retrieve one record from the db and the result still the same. db_clients from config.json:
Testing using postman
Checking in the console print out:
@ericjansen try to run the drogon_ctl -v
command to check whether the newly compiled drogon supports pg database.
Hi @an-tao My local mac:
My server:
Fixed. Please check.
Great! It's working now. Thank you.
With the latest commit, ORM Mapper class has issues with returning DbClientPtr is nullptr. Any commands: insert, findOne, etc result with the following message:
Assertion failed: (dbClientsMap_.find(name) != dbClientsMap_.end()), function getDbClient, file DbClientManager.h, line 37. Abort trap: 6
I read the documentation and added
name
asdefault
indb_clients
ofconfig.json
but still results the same.Hope can help to have the updated fixes for the mapper. Thank you