You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: query/src/org/labkey/query/controllers/SqlController.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ public void set(String name, Object value)
99
99
100
100
publicenumFormat
101
101
{
102
-
split, // respose that can be parsed using String.split(), configure with 'sep' and 'eol'
102
+
split, // response that can be parsed using String.split(), configure with 'sep' and 'eol'
103
103
104
104
compact, // same as split, but with ditto markers (cheap way to compress and save space on client)
105
105
@@ -220,7 +220,7 @@ public void setCompact(boolean compact)
220
220
/// Execute a LabKey SQL query and return results as plain text. Designed for lightweight programmatic access without the overhead of QueryView/JSON API responses.
221
221
///
222
222
/// Note this is still experimental as this API does not work well with some features.
223
-
/// In particular, some columns rely on custom DisplayColumn implmentations to return meaningful data,
223
+
/// In particular, some columns rely on custom DisplayColumn implementations to return meaningful data,
224
224
/// and this code path does not use DisplayColumn. In particular group_concat result (e.g. multi-value foreign keys)
225
225
/// may not render correctly, as well as lineage columns like MaterialInputs/*.
226
226
@RequiresPermission(ReadPermission.class)
@@ -622,10 +622,13 @@ public void testExecute_mssql() throws Exception
622
622
// Data rows ordered by Name
623
623
assertEquals("Alice", tokens[9]);
624
624
assertEquals("30", tokens[10]);
625
+
assertEquals("95.5", tokens[11]);
625
626
assertEquals("Bob", tokens[12]);
626
627
assertEquals("30", tokens[13]);
628
+
assertEquals("87.3", tokens[14]);
627
629
assertEquals("Carol", tokens[15]);
628
630
assertEquals("35", tokens[16]);
631
+
assertEquals("91.0", tokens[17]);
629
632
}
630
633
631
634
@Test
@@ -668,12 +671,15 @@ public void testExecute() throws Exception
0 commit comments