myt/exporters/view.ejs

8 lines
213 B
Plaintext
Raw Normal View History

CREATE OR REPLACE DEFINER=<%- definer %>
SQL SECURITY <%- securityType %>
VIEW <%- schema %>.<%- name %>
2022-02-07 14:43:12 +00:00
AS <%- definition %><%
if (locals.checkOption != 'NONE') { %>
2022-02-07 14:43:12 +00:00
WITH <%- checkOption %> CHECK OPTION<%
} %>