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