Use drogon::orm::Result in view templates?

  • 1
  • Relevant Page: View
chiefsucker • 5 months ago

Is there an integration between SQL results and view templates or is it necessary to put the rows from Result into HttpViewData manually, then pass them to the template?

antao2002 • 5 months ago

No, currently you have to put the Result or ORM object into HttpViewData manually.

Log in to comment