mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fixed text field stream operator
This commit is contained in:
parent
8b5fc67af6
commit
cc512d0955
@ -237,13 +237,12 @@ namespace sqlpp
|
||||
{
|
||||
if (e.is_null() and not null_is_trivial_value_t<FieldSpec>::value)
|
||||
{
|
||||
os << "NULL";
|
||||
return os << "NULL";
|
||||
}
|
||||
else
|
||||
{
|
||||
os << e.value();
|
||||
return os << e.value();
|
||||
}
|
||||
return serialize(e, os);
|
||||
}
|
||||
|
||||
using blob = text;
|
||||
|
Loading…
Reference in New Issue
Block a user