You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to be able to reference source queries directly in the frontmatter of a Page. This could be part of #2406 , or a separate quick feature since that sounds like a major change.
What problem would this solve?
Referencing sources directly would help avoid repetitive boilerplate queries like:
select*fromsource_name.source_query_name
This problem is slightly alleviated if you create a .sql file under queries/ and reference it in the frontmatter, but this approach leads to too many middlemen, i.e., those .sql files.
How should it work?
Either being able to refer to source queries like this
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
It'd be great to be able to reference source queries directly in the frontmatter of a Page. This could be part of #2406 , or a separate quick feature since that sounds like a major change.
What problem would this solve?
Referencing sources directly would help avoid repetitive boilerplate queries like:
This problem is slightly alleviated if you create a
.sql
file underqueries/
and reference it in the frontmatter, but this approach leads to too many middlemen, i.e., those.sql
files.How should it work?
Either being able to refer to source queries like this
or to avoid confusion
Beta Was this translation helpful? Give feedback.
All reactions