engyuxing.rabbit-sql.7.12.0.source-code.template.xql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rabbit-sql Show documentation
Show all versions of rabbit-sql Show documentation
Light wrapper of JDBC, support ddl, dml, query, plsql/procedure/function, transaction and manage sql
file.
/*
Get more information from:
https://github.com/chengyuxing/rabbit-sql#Prepare-SQL
https://github.com/chengyuxing/rabbit-sql#xqlfilemanager
@@@
You can write some description for the file at here.
@@@
*/
/*#some description...#*/
/*[query]*/
/*#more
description...
#*/
select *
from test."user" t ${part1};
/*{part1}*/
where id = :id
${order};
/*{order}*/
order by id;
/*[for]*/
select *
from test.user
where id = 1
-- #for id of :ids delimiter ', ' open ' or id in (' close ')'
-- #if :id > 0
:id
-- #fi
-- #done
;