Bläddra i källkod

Merge pull request #171 from robertmryan/gh-pages

Updated hasAnotherRow
August "Gus" Mueller 12 år sedan
förälder
incheckning
7a75e99943

+ 1 - 1
html/Categories/FMDatabase+FMDatabaseAdditions.html

@@ -1352,7 +1352,7 @@
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 3 - 3
html/Classes/FMDatabase.html

@@ -1154,7 +1154,7 @@
 	
     
 
-	<div class="method-subsection method-declaration"><code>+ (id)databaseWithPath:(NSString *)<em>inPath</em></code></div>
+	<div class="method-subsection method-declaration"><code>+ (instancetype)databaseWithPath:(NSString *)<em>inPath</em></code></div>
 
     
 	
@@ -2730,7 +2730,7 @@ FMDatabase *db     = [FMDatabase databaseWithPath:dbPath];
 	
     
 
-	<div class="method-subsection method-declaration"><code>- (id)initWithPath:(NSString *)<em>inPath</em></code></div>
+	<div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>inPath</em></code></div>
 
     
 	
@@ -4114,7 +4114,7 @@ FMDatabase *db     = [FMDatabase databaseWithPath:dbPath];
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 3 - 3
html/Classes/FMDatabasePool.html

@@ -307,7 +307,7 @@ in the main.m file.</p></div>
 	
     
 
-	<div class="method-subsection method-declaration"><code>+ (id)databasePoolWithPath:(NSString *)<em>aPath</em></code></div>
+	<div class="method-subsection method-declaration"><code>+ (instancetype)databasePoolWithPath:(NSString *)<em>aPath</em></code></div>
 
     
 	
@@ -678,7 +678,7 @@ in the main.m file.</p></div>
 	
     
 
-	<div class="method-subsection method-declaration"><code>- (id)initWithPath:(NSString *)<em>aPath</em></code></div>
+	<div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em></code></div>
 
     
 	
@@ -766,7 +766,7 @@ in the main.m file.</p></div>
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 3 - 3
html/Classes/FMDatabaseQueue.html

@@ -296,7 +296,7 @@
 	
     
 
-	<div class="method-subsection method-declaration"><code>+ (id)databaseQueueWithPath:(NSString *)<em>aPath</em></code></div>
+	<div class="method-subsection method-declaration"><code>+ (instancetype)databaseQueueWithPath:(NSString *)<em>aPath</em></code></div>
 
     
 	
@@ -575,7 +575,7 @@
 	
     
 
-	<div class="method-subsection method-declaration"><code>- (id)initWithPath:(NSString *)<em>aPath</em></code></div>
+	<div class="method-subsection method-declaration"><code>- (instancetype)initWithPath:(NSString *)<em>aPath</em></code></div>
 
     
 	
@@ -627,7 +627,7 @@
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 28 - 5
html/Classes/FMResultSet.html

@@ -381,7 +381,7 @@
 </li><li>
 	<span class="tooltip">
 		<code><a href="#//api/name/hasAnotherRow">&ndash;&nbsp;hasAnotherRow</a></code>
-		<span class="tooltip"><p>Does the result set have another row?</p></span>
+		<span class="tooltip"><p>Did the last call to <a href="#//api/name/next"><code>next</code></a> succeed in retrieving another row?</p></span>
 	</span>
 	
 	
@@ -780,7 +780,7 @@
 	
     
 
-	<div class="method-subsection method-declaration"><code>+ (id)resultSetWithStatement:(FMStatement *)<em>statement</em> usingParentDatabase:(FMDatabase *)<em>aDB</em></code></div>
+	<div class="method-subsection method-declaration"><code>+ (instancetype)resultSetWithStatement:(FMStatement *)<em>statement</em> usingParentDatabase:(FMDatabase *)<em>aDB</em></code></div>
 
     
 	
@@ -1751,7 +1751,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
 	
 	
 	<div class="method-subsection brief-description">
-		<p>Does the result set have another row?</p>
+		<p>Did the last call to <a href="#//api/name/next"><code>next</code></a> succeed in retrieving another row?</p>
 	</div>		
 	
     
@@ -1764,16 +1764,30 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
 	
 	<div class="method-subsection return">
 		<h4 class="method-subtitle parameter-title">Return Value</h4>
-		<p><code>YES</code> if there is another row; <code>NO</code> if not.</p>
+		<p><code>YES</code> if the last call to <a href="#//api/name/next"><code>next</code></a> succeeded in retrieving another record; <code>NO</code> if not.</p>
 	</div>
 	
 	
 	
 	
 	
+	<div class="method-subsection discussion-section">
+		<h4 class="method-subtitle">Discussion</h4>
+		<div class="warning"><p><strong>Warning:</strong> The <code>hasAnotherRow</code> method must follow a call to <a href="#//api/name/next"><code>next</code></a>. If the previous database interaction was something other than a call to <code>next</code>, then this method may return <code>NO</code>, whether there is another row of data or not.</p></div>
+	</div>
+	
+	
 	
 	
 	
+	<div class="method-subsection see-also-section">
+		<h4 class="method-subtitle">See Also</h4>
+		<ul>
+			
+			<li><code><p><a href="#//api/name/next">- next</a></p></code></li>
+			
+		</ul>
+	</div>
 	
 	
 	
@@ -2173,6 +2187,15 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
 	
 	
 	
+	<div class="method-subsection see-also-section">
+		<h4 class="method-subtitle">See Also</h4>
+		<ul>
+			
+			<li><code><p><a href="#//api/name/hasAnotherRow">- hasAnotherRow</a></p></code></li>
+			
+		</ul>
+	</div>
+	
 	
 	
 	<div class="method-subsection declared-in-section">
@@ -2754,7 +2777,7 @@ If you don&rsquo;t, you&rsquo;re going to be in a world of hurt when you try and
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 1 - 1
html/Classes/FMStatement.html

@@ -435,7 +435,7 @@
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 1 - 1
html/hierarchy.html

@@ -77,7 +77,7 @@
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>
 						

+ 1 - 1
html/index.html

@@ -73,7 +73,7 @@
 				<div id="footer">
 					<hr />
 					<div class="footer-copyright">
-						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-06-07)</span><br />
+						<p><span class="copyright">&copy; 2013 ccgus. All rights reserved. (Last updated: 2013-08-02)</span><br />
 						
 						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 858)</a>.</span></p>