README.md

This commit is contained in:
Gwendal Roué committed 2015-07-05 23:21:14 +02:00
1 parent de0d858ec9
commit 845e85b611
1 file changed
+4 -1
+4 -1
View File
@@ -504,6 +504,7 @@ class Person : RowModel {
```
- [Loading](#loading)
- [Ad Hoc Subclasses](#ad-hoc-subclasses)
- [Primary Keys](#primary-keys)
- [Insert, Update and Delete](#insert-update-and-delete)
@@ -561,7 +562,9 @@ for person in persons { ... } // OK
```
**Subclass with ad-hoc classes** when iterating custom queries.
### Ad Hoc Subclasses
Swift makes it very easy to create small and private types. This is a wonderful opportunity to create **ad hoc subclasses** that provide support for custom queries.
We think that this is the killer feature of GRDB.swift :bowtie:. For example: