| 90 | } |
| 91 | |
| 92 | std::unique_ptr<QueryResult> Connection::executeWithParams(PreparedStatement* preparedStatement, |
| 93 | std::unordered_map<std::string, std::unique_ptr<Value>> inputParams) { |
| 94 | dbLifeCycleManager->checkDatabaseClosedOrThrow(); |
| 95 | auto queryResult = clientContext->executeWithParams(preparedStatement, std::move(inputParams)); |
| 96 | queryResult->setDBLifeCycleManager(dbLifeCycleManager); |
| 97 | return queryResult; |
| 98 | } |
| 99 | |
| 100 | std::unique_ptr<QueryResult> Connection::executeWithParamsWithID( |
| 101 | PreparedStatement* preparedStatement, |