New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define sql connectors to live data #1072
Comments
What is this? I don’t think we want this. It goes against static analysis. You can do this by manually declaring a |
The idea is that sql fenced blocks are so great to use, I'm trying to find the shortest route to them from live data. |
Maybe then we should make this pattern more discoverable? const db = await DuckDBClient.of({gaia: FileAttachment("./lib/gaia-sample.parquet")});
const sql = db.sql.bind(db); Such as this: const sql = DuckDBClient.sql({gaia: FileAttachment("./lib/gaia-sample.parquet")}); |
sounds like the 🚀 solution |
following @mbostock’s suggestion #1072 (comment)
* implement sql fenced code from DuckDBClient.sql(…) following @mbostock’s suggestion #1072 (comment) * fix typo --------- Co-authored-by: Mike Bostock <mbostock@gmail.com>
The text was updated successfully, but these errors were encountered: