mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 20:20:59 -06:00
Fixed text field stream operator
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user