|  | Result set is iterated row by row.
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | ```py
 | 
						
						
						
							|  | {{#include docs/examples/python/query_example.py:iter}}
 | 
						
						
						
							|  | ```
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | Result set is retrieved as a whole, each row is converted to a dict and returned.
 | 
						
						
						
							|  | 
 | 
						
						
						
							|  | ```py
 | 
						
						
						
							|  | {{#include docs/examples/python/query_example.py:fetch_all}}
 | 
						
						
						
							|  | ``` |