oatpp / example-crud

A complete example of a "CRUD" service (UserService) built with Oat++.
https://oatpp.io/
Apache License 2.0
100 stars 63 forks source link

Necessary to close db connection in normal app? #11

Closed ktnr closed 3 years ago

ktnr commented 3 years ago

Is it necessary to also close the db connection in the normal app, not only in tests as in #10?

lganzzzo commented 3 years ago

Looks good!

Is it necessary to also close the db connection in the normal app, not only in tests as in #10?

Yes, it's a good idea.