framework icon indicating copy to clipboard operation
framework copied to clipboard

Destructuring Doc Suggestion

Open zachcp opened this issue 1 year ago • 1 comments

This used to return a JS array of maps; one per row. Now it returns the arrow table.

sql id=top10
SELECT * FROM gaia ORDER BY phot_g_mean_mag LIMIT 10

Suggestion: add something like this to the docs to make it explicit how to pull out all the rows.

sql id=[...top10]
SELECT * FROM gaia ORDER BY phot_g_mean_mag LIMIT 10

zachcp avatar Apr 16 '24 18:04 zachcp

I'm not a huge fan of the "array of Proxies" that this returns, but agree that the arrow table is too opaque (discussed also as part of #1120).

Fil avatar Apr 16 '24 20:04 Fil