This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
[Suggestion] Query resultset includes column info once #234
Open
Description
Why? A much-less verbose query result.
Since each "cell" returned via "Query" currently includes ColumnName and ColumnType and CellValue it can become bytes-expensive for the transfer. This proposal should make it better, I hope.
New Parameter for Query Function: format=default|colheaders
format=colheaders would return a JSON string like this:
{
"columns": [{"name":"col0","type":1},{"name":"col1","type":2},{"name":"col2","type":0}]
"data": [
[val0,val1,val2],
[val0,val1,val2],
[val0,val1,val2]
]
}
Each "col#" object could have the info from the "Columns" query as related to the results of this query (or at least ColName,ColType)
This returns a MUCH smaller resultset, as far as bytes transferred back.
I thank you for your time.
Metadata
Metadata
Assignees
Labels
No labels