[odb-users] c++17,20,23 and sqlite

MM finjulhich at gmail.com
Sun Jan 23 09:33:41 EST 2022

I need to hold the content of a custom layout file in a cell, about 30
I have a 1-row table where I store static data. 1 of the columns would hold
the content of the file.

First, I'm not sure what C++ type to use for that file. I need to store the
content, not the file path.
The first thing that springs to mind is that I like the std::byte type.
Would a std::basic_string<std::byte> work? Or a std::vector<std::byte>?
What type would have a natural mapping in sqlite?


More information about the odb-users mailing list