Skip to content

Commit 7b8e0e0

Browse files
authored
Merge pull request #296 from domaframework/translate
Polish documents
2 parents 5466903 + 5d53fde commit 7b8e0e0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/sql.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,12 @@ The following SQL statement is generated from the SQL template:
214214
215215
select * from employee where employee_id = ?
216216
217-
Iterable parameters in IN clause
218-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217+
Parameters in IN clause
218+
~~~~~~~~~~~~~~~~~~~~~~~
219219

220-
The parameter whose type is subtype of ``java.lang.Iterable`` is
220+
The parameter whose type is a subtype of ``java.lang.Iterable`` or an array type is
221221
recognised as bind variables in IN clause.
222-
But the type argument of ``java.lang.Iterable`` must be one of :doc:`basic` or :doc:`domain`.
222+
The type argument of ``java.lang.Iterable`` must be one of :doc:`basic` and :doc:`domain`.
223223
The directives must be followed by test data enclosed between ``(`` and ``)``.
224224

225225
The following example is the pair of a DAO method and an SQL template:
@@ -557,7 +557,7 @@ Synopsis
557557
/*%end*/
558558
559559
The ``item`` is the loop variable.
560-
The expression ``sequence`` must be evaluated to subtype of ``java.lang.Iterable``
560+
The expression ``sequence`` must be evaluated to a subtype of ``java.lang.Iterable`` or an array type.
561561

562562
In the inside between ``/*%for item : sequence*/`` and ``/*%end*/``,
563563
two extra loop variables are available:

0 commit comments

Comments
 (0)