You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/quickstart.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ DAOs, Beans and ResultIterators
24
24
25
25
When you [installed TDBM](install.md), you spent some time configuring a connection to your database and then, you generated the DAOs, beans and resultIterators.
26
26
27
-
There will be roughly **one class (DAO, Bean, ResultIterator) per table**, in fact only ManyToMany link tables won't get their class.
27
+
There will be roughly **one class (DAO, Bean, ResultIterator) per table**, in fact only ManyToMany link tables won't get their classes.
28
28
29
29
Each time your database model changes (if you add a new table, a new column, an index or a foreign key...), you will need to regenerate those DAOs, beans and resultIterators.
30
30
@@ -40,7 +40,7 @@ This instance will allow you to easily update your data using setters and getter
40
40
41
41
### ResultIterators
42
42
43
-
A ResultIterator will represent the result of a query. It will allow you to specify it.
43
+
A ResultIterator object represents the result of a query. It is an iterable object. You can use it to paginate through the results, sort the results or (in the future) filter the results.
44
44
45
45
Usage sample
46
46
------------
@@ -185,7 +185,7 @@ generated 4 classes:
185
185
column of the "users" table. It is generated by TDBM and you should never modify this class.
186
186
-`User`: this class extends `AbstractUser`. If you have some custom getters and setters, you should implement them in this class. You can
187
187
edit it as TDBM will never overwrite it.
188
-
-`AbstractUserResultIterator`: the resultIterator representing a query on the "users" table. This class contains methods to specify you query.
188
+
-`AbstractUserResultIterator`: the resultIterator representing a query on the "users" table. This class contains methods to filter/sort/paginate your query.
189
189
It is generated by TDBM and you should never modify this class.
190
190
-`UserResultIterator`: this class extends `AbstractUserResultIterator`. If you have some custom function to narrow down your queries you should implement them in this class. You can
0 commit comments