Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 901 Bytes

README.md

File metadata and controls

50 lines (34 loc) · 901 Bytes

Drogon framework SQL example

Note:

  • Check your config test/deploy on /configs/config.json address and port listeners
  • By default it will run at http://127.0.0.1:8000


Prerequisite:

  • drogonframework >= 1.7.4
  • C++20 compiler support
  • db_clients might need to re-adjust


Cmake build args help:

  • GNU\Linux
# inside /build directory
cmake -DCMAKE_CXX_FLAGS="-std=c++20 -fcoroutines" .. && cmake --build .
  • Windows
# inside /build directory
cmake -DCMAKE_CXX_FLAGS="/std:c++latest" .. && cmake --build .

might require "/EHsc /EHa" exception handling syncrounus or asyncrounus for Windows build



Database tables:

  • Exported data tables are under /models directory, you can import it for example

import *.csv

import *.csv



end of readme