Replies: 2 comments 4 replies
-
@eismue looks like SELECT TYPEOF(conditions)
FROM Observations Try to use a different SQLite client |
Beta Was this translation helpful? Give feedback.
-
I have found the actual cause (but no solution): if the text contains umlauts, the text data is saved as a blob by sqllite_orm. If the text does not contain umlauts, it is saved as TEXT as expected. Oh,
always returns 'text' (regardless of whether the text is readable in the client or not ('blob')). Surely there is something very simple that can be added so that texts with umlauts are not saved as a blob like data. But I have no idea where to start. Maybe someone knows the problem and can give a hint... |
Beta Was this translation helpful? Give feedback.
-
Hello.
Maybe there is a quick answer, because someone has more knowledge than me (new to c++, completely new to sqlite and of course sqlite_orm).
I store a std::string in a table using sqlite_orm. In the UI tool 'DB Browser for SQLite' I don't see the actual stored text in the grid as a query result, but the placeholder 'Blob'. So sqlite_orm saves the std::string as a binary value. How can I get it to be saved as TEXT?
If I insert data from another application into the database, it is saved normally as text, which also displays the query results in the DB Browser as the saved text and not as a 'blob'.
I'm sure this is just a small thing I'm overlooking. I hope so...
Some information:
Table:
c++:
Any hint is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions