Skip to content

handle sections for composites #8

@steve-chavez

Description

@steve-chavez

Should be like:

create type person (name text, lastname text);

create or replace function hello(p person) returns text as $$
Hello, {{#p}} {{name}} {{/p}}
$$ language plmustache;

select hello('(John,Doe)');
Hello John

select hello(null);
Hello

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions