We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We support dynamic indexed access(e.g. ids[${idStat.index}]) to the collection object on mb:p tag as follow:
ids[${idStat.index}]
mb:p
SELECT * FROM names WHERE 1 = 1 /*[# th:if="${not #lists.isEmpty(ids)}"]*/ AND id IN ( /*[# th:each="id : ${ids}"]*/ /*[# mb:p="ids[${idStat.index}]"]*/ 1 /*[/]*/ /*[(${idStat.last} ? '' : ',')]*/ /*[/]*/ ) /*[/]*/ ORDER BY id
The text was updated successfully, but these errors were encountered:
Support dynamic indexed access on mb:p tag
961f589
Fixes mybatisgh-41
Merge pull request #42 from kazuki43zoo/gh-41
53409c6
kazuki43zoo
Successfully merging a pull request may close this issue.
We support dynamic indexed access(e.g.
ids[${idStat.index}]
) to the collection object onmb:p
tag as follow:The text was updated successfully, but these errors were encountered: