-
|
Hi there, how can I bind database Text type data in buffers::RowVec? Is setting a sufficiently large VarCharArray the only solution, or are there other approaches? |
Beta Was this translation helpful? Give feedback.
Answered by
pacman82
May 30, 2025
Replies: 2 comments 4 replies
-
|
Hello @doveq , Short answer: Yes. It is a strict requirement of bulk fetching with ODBC that the memory layout must be a contiguous buffer. So there is currently now way to have heap allocated dynamically sized string. Best, Markus |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
doveq
-
|
Thank you for the quick reply Markus. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @doveq ,
Short answer: Yes.
It is a strict requirement of bulk fetching with ODBC that the memory layout must be a contiguous buffer. So there is currently now way to have heap allocated dynamically sized string.
Best, Markus