@@ -630,7 +630,7 @@ unittest
630
630
auto val2 = 2 ;
631
631
stmt = cn.prepare(" SELECT * FROM manytypes WHERE i = ? AND f = ?" );
632
632
stmt.setArgs(val1, val2);
633
- row = cn.queryRow(stmt);
633
+ row = cn.queryRow(stmt). get ;
634
634
}
635
635
assert (row[0 ] == 1 );
636
636
assert (row[1 ] == 2 );
@@ -1058,8 +1058,8 @@ unittest
1058
1058
// Test queryRow
1059
1059
nullableRow = cn.queryRow(selectSQL);
1060
1060
assert (! nullableRow.isNull);
1061
- assert (nullableRow[0 ] == 11 );
1062
- assert (nullableRow[1 ] == " aaa" );
1061
+ assert (nullableRow. get [0 ] == 11 );
1062
+ assert (nullableRow. get [1 ] == " aaa" );
1063
1063
// Were all results correctly purged? Can I still issue another command?
1064
1064
cn.query(selectSQL).array;
1065
1065
@@ -1069,8 +1069,8 @@ unittest
1069
1069
// Test prepared queryRow
1070
1070
nullableRow = cn.queryRow(prepared);
1071
1071
assert (! nullableRow.isNull);
1072
- assert (nullableRow[0 ] == 11 );
1073
- assert (nullableRow[1 ] == " aaa" );
1072
+ assert (nullableRow. get [0 ] == 11 );
1073
+ assert (nullableRow. get [1 ] == " aaa" );
1074
1074
// Were all results correctly purged? Can I still issue another command?
1075
1075
cn.query(selectSQL).array;
1076
1076
0 commit comments