C++ ORM and Query Builder for PostgreSQL.
Go to file
Tomasz Sowa 0bdabfc7b4 fix: put 'char' type directly to the output stream
Char type was converted to wchar_t and then was serialized as utf-8 stream.
Let char type will always be one char, of course it need to be a valid utf-8 sequence.

Let FT::dont_use_utf8 apply only to wchar_t and std::wstring
but ignore it if FT::hexadecimal or FT::binary are defined.

Now we have bool BaseExpression::esc_char(wchar_t val, pt::TextStream & stream) method
which (in most cases) will be used in derived classes.

Let wchar_t (and std::wstring) will be stored as 8 hex digits when using FT::hexadecimal
or FT::binary (and ignore FT::dont_use_utf8 in such a case).
2022-02-08 12:47:34 +01:00
samples updated samples 2021-06-24 21:14:29 +02:00
src fix: put 'char' type directly to the output stream 2022-02-08 12:47:34 +01:00
.editorconfig added .editorconfig file 2021-06-16 14:21:34 +02:00
.gitignore Added flag has_primary_key_set to Model 2021-03-09 18:10:34 +01:00