Message from C, C++ discussions
December 2019
— This is correct, but if you push / pop something you want to accomplish something, eg. calling a function
And in 99% of the cases, no compiler will generate a crazy custom calling convention where this is necesarry
— Yep thats right. But still sometimes asm has its uses especially with naked functions for drivers etc..
— Tom missed ur messages, got purged.
— I want to know what's wrong with drogon when connecting to mysql.
— Docs are lacking compared to the other part of the lib, esp when making connection.
— Sorry, I'll add this part. And U could find something useful for making connections on https://github.com/an-tao/drogon/wiki/08.1-DataBase-DbClient
— Please
— Hm?
— 👍
— Yea, I've read that. But no way to input password ?
I do sth like this in soci.string s = fmt::format("db={} user={} password='{}'", cfg.db_name, cfg.db_user, cfg.db_pass);
session sql(soci::mysql, s);
— In drogon, all connections are managed in DbClient, you can think of DbClient object as a connection pool.