oatpp / oatpp-sqlite

SQLite adapter for oatpp ORM.
https://oatpp.io/
Apache License 2.0
23 stars 18 forks source link

[TODO] - reuse prepared statements #1

Open lganzzzo opened 4 years ago

lganzzzo commented 4 years ago

Currently, all statements are created each time the Executor::execute() method is called - https://github.com/oatpp/oatpp-sqlite/blob/master/src/oatpp-sqlite/Executor.cpp#L121

We should keep prepared statements per connection and reuse them.