将地址字段内容从Postgres数据库加载到字符串数组中的最简单方法是:
id | name | address
-----------------------------------------------------------------
1 | John | {"line1","line2","line3"}
2 | Steve | {"addr1","addr2","addr3"}
String[0] = "line1"
String[1] = "line2"
String[2] = "line3"
我不确定这是否是一个序列化的字符串数组但不知何故我没有完成这个简单的任务。