Better support for boost::optional in database layer.

This commit is contained in:
eelke 2018-09-19 08:25:23 +02:00
parent 780d912cd1
commit e4ccd93b09
4 changed files with 27 additions and 5 deletions

View file

@ -92,6 +92,7 @@ TEST(Pgsql_Value, getAsArray_Ints)
ASSERT_EQ(r[1], 2);
}
TEST(Pgsql_Value, getAsArray_QDateTime)
{
Pgsql::Value v("{\"2017-12-11 10:11:22\",\"2017-12-13 12:00:11\"}", text_array_oid);