HerikLyma / CPPWebFramework

​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
MIT License
445 stars 119 forks source link

Best way to get database in controller. #28

Closed unlimitedcoder2 closed 4 years ago

unlimitedcoder2 commented 4 years ago

If i have a database in the main.cpp file how would I get it in a controller file?

Sent from my Galaxy S10 5G using FastHub