Skip to content
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

DuckDBClient.sql #1097

Merged
merged 4 commits into from Mar 18, 2024
Merged

DuckDBClient.sql #1097

merged 4 commits into from Mar 18, 2024

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Mar 18, 2024

implement sql fenced code from DuckDBClient.sql(…)

following @mbostock’s suggestion #1072 (comment)

closes #1072

@Fil Fil requested a review from mbostock March 18, 2024 14:40
@mbostock
Copy link
Member

Do we still need this if we have #1098? I prefer using the sql front matter option if possible.

@Fil
Copy link
Contributor Author

Fil commented Mar 18, 2024

Yes I think so? It would be useful if you wanted to work with an array of objects computed on the client and use them in sql fenced code blocks. It's possible without this, of course.

@mbostock
Copy link
Member

Ah, and the dynamic source case you mentioned (e.g., driven by input); sql front matter only works with static sources.

@mbostock mbostock enabled auto-merge (squash) March 18, 2024 23:27
@mbostock mbostock merged commit 7c69b22 into main Mar 18, 2024
4 checks passed
@mbostock mbostock deleted the fil/sql-sql branch March 18, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define sql connectors to live data
2 participants