This repository was archived by the owner on Sep 16, 2025. It is now read-only.
Commit c555cb1
Added support for queries that return scalar results (#11)
* Added support for queries that return scalar results
A scalar result is returned as:
```
[
{
"status": "Success",
"kind": "upsolver_scalar_query_response",
"result":
{
"scalar":
{
"value": "<value_here>",
"valueType": "<value_type_here>"
}
}
}
]
```
This commit transforms this result into a 1x1 grid with a column name of
`valueType`.
* v0.1.8
---------
Co-authored-by: Robert Navado <837482+navado@users.noreply.github.com>1 parent 2f11ef8 commit c555cb1
File tree
4 files changed
+22
-6
lines changed- upsolver
- client
- dbapi
4 files changed
+22
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 | | |
89 | 94 | | |
0 commit comments