freemarker.template.common.xml.query.ftl Maven / Gradle / Ivy
<#list tableInfo.columnLists as colm>
<#if colm??>
<#if colm.javaDataType = 'String'><#else>#if>
AND ${colm.columnName} = ${'#{'}${colm.javaColumnName}}
#if>
#list>
SELECT
<#list tableInfo.columnLists as colm>
<#if colm??>
<#if colm_has_next>
${colm.columnName?upper_case},
<#else>
${colm.columnName?upper_case}
#if>
#if>
#list>
SELECT COUNT(*)
FROM
${tableInfo.tableName}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy