myt/exporters/function.ejs

18 lines
422 B
Plaintext
Raw Permalink Normal View History

<%- begin %> <%- typeAndName %>(<%- params.paramList %>)
RETURNS <%- params.returns %><%
if (params.isDeterministic == 'NO') { %>
2022-02-07 14:43:12 +00:00
NOT DETERMINISTIC<%
} else { %>
DETERMINISTIC<%
}
if (params.dataAccess) { %>
<%- params.dataAccess %><%
2022-02-07 14:43:12 +00:00
}
if (params.securityType == 'INVOKER') { %>
SQL SECURITY <%- params.securityType %><%
2022-02-07 14:43:12 +00:00
}
if (params.comment) { %>
COMMENT <%- params.comment %><%
2022-02-07 14:43:12 +00:00
} %>
<%- params.body %><%- end %>