Mercurial > hg > orthanc-databases
comparison Framework/PostgreSQL/PostgreSQLStatement.cpp @ 186:6fe74f9a516e
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Dec 2020 15:05:19 +0100 |
parents | 275e14f57f1e |
children | 3236894320d6 |
comparison
equal
deleted
inserted
replaced
185:7c46155b5bb4 | 186:6fe74f9a516e |
---|---|
474 { | 474 { |
475 return result_->GetValue(index); | 475 return result_->GetValue(index); |
476 } | 476 } |
477 | 477 |
478 public: | 478 public: |
479 ResultWrapper(PostgreSQLStatement& statement) : | 479 explicit ResultWrapper(PostgreSQLStatement& statement) : |
480 result_(new PostgreSQLResult(statement)) | 480 result_(new PostgreSQLResult(statement)) |
481 { | 481 { |
482 SetFieldsCount(result_->GetColumnsCount()); | 482 SetFieldsCount(result_->GetColumnsCount()); |
483 FetchFields(); | 483 FetchFields(); |
484 } | 484 } |