File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/java/com/rethinkdb/net Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ public class Connection implements Closeable {
4545 protected final @ Nullable Long timeout ;
4646 protected final @ Nullable String user ;
4747 protected final @ Nullable String password ;
48- protected final boolean unwrapLists ;
4948 protected final Result .FetchMode defaultFetchMode ;
5049
5150 protected final AtomicLong nextToken = new AtomicLong ();
@@ -55,6 +54,7 @@ public class Connection implements Closeable {
5554 protected @ Nullable String dbname ;
5655 protected @ Nullable ConnectionSocket socket ;
5756 protected @ Nullable ResponsePump pump ;
57+ protected boolean unwrapLists ;
5858
5959 /**
6060 * Creates a new connection based on a {@link Builder}.
@@ -100,6 +100,11 @@ public Connection(Builder b) {
100100 return this ;
101101 }
102102
103+ public @ NotNull Connection unwrapLists (boolean val ) {
104+ unwrapLists = val ;
105+ return this ;
106+ }
107+
103108 /**
104109 * Checks if the connection is open.
105110 *
You can’t perform that action at this time.
0 commit comments