Skip to content

Commit 33891b8

Browse files
committed
Update README
1 parent ace2a49 commit 33891b8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ SELECT * FROM names
3737
ORDER BY id
3838
```
3939

40+
### Dynamic bindable SQL(non 2-way)
41+
42+
```sql
43+
SELECT * FROM names
44+
WHERE 1 = 1
45+
[# th:if="${not #lists.isEmpty(ids)}"]
46+
AND id IN (
47+
[# mb:p="ids" /]
48+
)
49+
[/]
50+
ORDER BY id
51+
```
52+
4053
## Requirements
4154

4255
* Java 8, Java 11+

0 commit comments

Comments
 (0)