Class Query
The class offers many features to compose model queries. Most query related
methods of the ICanBoogie\ActiveRecord\Model class create a ICanBoogie\ActiveRecord\Query object that is
returned for further specification, such as filters or limits.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- 
			 ICanBoogie\ActiveRecord\Query			
			 implements 
				IteratorAggregate ICanBoogie\ActiveRecord\Query			
			 implements 
				IteratorAggregate
See: http://dev.mysql.com/doc/refman/5.6/en/select.html
Located at vendor/icanboogie/activerecord/lib/query.php
Methods summary
| 
				 public 
				
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				string
				
				 | |
| 
				 protected 
				array[]string
				
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 public 
				 | |
| 
				 protected 
				string
				
				 | |
| 
				 protected 
				
				
				 | |
| 
				 protected 
				
				
				 | |
| 
				 protected 
				ICanBoogie\Database\Statement
				
				 | |
| 
				 public 
				ICanBoogie\Database\Statement
				
				 | |
| 
				 protected 
				ICanBoogie\Database\Statement
				
				 | |
| 
				 public 
				array
				
				 | |
| 
				 protected 
				array
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 protected 
				mixed
				
				 | |
| 
				 protected 
				array
				
				 | |
| 
				 protected 
				string
				
				 | |
| 
				 public 
				boolean|array
				
				 | |
| 
				 protected 
				boolean|array
				
				 | |
| 
				 public 
				integer|array
				
				 | |
| 
				 protected 
				integer
				
				 | |
| 
				 public 
				integer
				
				 | |
| 
				 public 
				integer
				
				 | |
| 
				 public 
				integer
				
				 | |
| 
				 public 
				integer
				
				 | |
| 
				 public 
				mixed
				
				 | |
| 
				 public 
				
				
				 | 
Methods inherited from ICanBoogie\Object
			from(), 
			resolve_facade_properties(), 
			resolve_private_properties(), 
			to_array(), 
			to_json()
		
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
			__set(), 
			__sleep(), 
			__wakeup(), 
			get_prototype(), 
			has_method(), 
			has_property(), 
			last_chance_get(), 
			last_chance_set()
		
Magic methods summary
| 
				 public 
				 | 
Constants summary
| string | 
					LIMIT_MAX
			 | '18446744073709551615' | 
Properties summary
| 
				protected  
				mixed
			 | $select | |
| 
				protected  
				mixed
			 | $join | |
| 
				protected  
				array
			 | $conditions | |
| 
				protected  
				array
			 | $conditions_args | |
| 
				protected  
				mixed
			 | $group | |
| 
				protected  
				mixed
			 | $order | |
| 
				protected  
				mixed
			 | $having | |
| 
				protected  
				array
			 | $having_args | |
| 
				protected  
				mixed
			 | $offset | |
| 
				protected  
				mixed
			 | $limit | |
| 
				protected  
				mixed
			 | $mode | |
| 
				protected  
				 | $model | 
				#
				 The target model of the query. | 
| 
				protected static 
				array[]string
			 | $scopes_by_classes | 
				#
				 Caches available scopes by model class. | 
Magic properties
| 
				public  read-only
				array
			 | $all |  | 
				#
				 An array with all the records matching the query. | 
| 
				public  read-only
				mixed
			 | $one |  | 
				#
				 The first record matching the query. | 
| 
				public  read-only
				array
			 | $pairs |  | 
				#
				 An array of key/value pairs. | 
| 
				public  read-only
				array
			 | $rc |  | 
				#
				 The first column of the first row matching the query. | 
| 
				public  read-only
				integer
			 | $count |  | 
				#
				 The number of records matching the query. | 
| 
				public  read-only
				boolean|array
			 | $exists |  | 
				#
				 
 | 
| 
				public  read-only
				 | $model |  | 
				#
				 The target model of the query. |