comparison PostgreSQL/UnitTests/PostgreSQLTests.cpp @ 246:483af3f35a4b

turning ResultFileValue into a base class, and implement its primitives for PostgreSQL
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Apr 2021 08:42:31 +0200
parents b97a537f4613
children 7a4f9bcb0bc2
comparison
equal deleted inserted replaced
245:9d00e5e073e8 246:483af3f35a4b
324 324
325 ASSERT_FALSE(r.IsNull(0)); 325 ASSERT_FALSE(r.IsNull(0));
326 ASSERT_EQ("Index 9", r.GetString(0)); 326 ASSERT_EQ("Index 9", r.GetString(0));
327 327
328 std::string data; 328 std::string data;
329 r.GetLargeObject(data, 1); 329 r.GetLargeObjectContent(data, 1);
330 ASSERT_EQ("Value 18", data); 330 ASSERT_EQ("Value 18", data);
331 331
332 r.Next(); 332 r.Next();
333 ASSERT_FALSE(r.IsDone()); 333 ASSERT_FALSE(r.IsDone());
334 334