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

handle sections for arrays #6

Open
steve-chavez opened this issue Sep 10, 2023 · 0 comments · May be fixed by #12
Open

handle sections for arrays #6

steve-chavez opened this issue Sep 10, 2023 · 0 comments · May be fixed by #12
Labels
enhancement New feature or request

Comments

@steve-chavez
Copy link
Member

Should be like:

create or replace function hello(xs text[]) returns text as $$
Hello, {{#xs}} {{.}} {{/xs}}
$$ language plmustache;

select hello(ARRAY['a', 'b', 'c']);
Hello a b c

According to https://github.com/mustache/spec/blob/master/specs/sections.yml#L181-L186

@steve-chavez steve-chavez added the enhancement New feature or request label Sep 10, 2023
@steve-chavez steve-chavez linked a pull request Nov 19, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant