quarto-dev / quarto-dev/quarto
sql code cells feature
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
Hello,
I am trying to reproduce some of my reports and one feature I fail to spot is the ability to create SQL code cells like in RMarkdown.
I thought that if quarto used knitr to produce views (and knitr supports creation of sql cells), then sql chunk would be an option, yet I struggle to recreate this kind of behavior. Is there a possibility to create sql scripts in this fashion?
{sql}
#| connection = con
SELECT 1 FROM test
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how Quarto handles code cells and how its knitr integration relates to the SQL chunk support mentioned in the issue. Determine whether a SQL cell can use a named connection such as con to execute a query like SELECT 1 FROM test, and document the supported behavior or the remaining implementation scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100