Skip to content

Commit

Permalink
add blob
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacyking committed Aug 7, 2024
1 parent 1462b86 commit 548046e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ormpp/postgresql.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ class postgresql {
}
else if constexpr (std::is_same_v<blob, U>) {
auto p = PQgetvalue(res_, row, i);
// value = blob(p, p + ); TODOW
value = blob(p, p + PQgetlength(res_, row, i));
}
#ifdef ORMPP_WITH_CSTRING
else if constexpr (std::is_same_v<CString, U>) {
Expand Down

0 comments on commit 548046e

Please sign in to comment.