Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index b943592..abf0cc5 100644
--- a/README.markdown
+++ b/README.markdown
@@ -241,6 +241,7 @@ FMResultSet *s = [db executeQuery:@"SELECT COUNT(*) FROM myTable"];
if ([s next]) {
int totalCount = [s intForColumnIndex:0];
}
+[s close]; // If you cannot confirm whether the result set is exhausted, you will need to call the -close method on the FMResultSet for safety.
```
`FMResultSet` has many methods to retrieve data in an appropriate format: