d1ebf65597 
								
							
								 
							
						 
						
							
							
								
								Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d135631f8e 
								
							
								 
							
						 
						
							
							
								
								Avoid logging db errors repeatedly.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c091248e0d 
								
							
								 
							
						 
						
							
							
								
								ActiveRecord::getNamespacedClass() call style  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								02581c59e7 
								
							
								 
							
						 
						
							
							
								
								Make ActiveRecord::getNamespacedClass() static  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								5d9c23c67b 
								
							
								 
							
						 
						
							
							
								
								Added Sort::hasAttribute().  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								7fd68199e5 
								
							
								 
							
						 
						
							
							
								
								Fix SORT_DESC comment in Query.php  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1f5d77790f 
								
							
								 
							
						 
						
							
							
								
								Fixed test breaks.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								20bde29f58 
								
							
								 
							
						 
						
							
							
								
								Added typecasting for SQL insertion and update.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a4239efa7c 
								
							
								 
							
						 
						
							
							
								
								Fixes   #637 .  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								dc2843a2d7 
								
							
								 
							
						 
						
							
							
								
								Fixes   #622 .  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0cbb05d7a2 
								
							
								 
							
						 
						
							
							
								
								Added Query::indexBy  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								cace50cf3b 
								
							
								 
							
						 
						
							
							
								
								use raw SQL for profiling.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ee994efdf0 
								
							
								 
							
						 
						
							
							
								
								polishing debugger.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f03cdf0a47 
								
							
								 
							
						 
						
							
							
								
								renamed Command::queryRow() to queryOne().  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c4a57a9f6c 
								
							
								 
							
						 
						
							
							
								
								Refactored Query and ActiveQuery.  
							
							... 
							
							
 
							
							Finished ActiveDataProvider. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								aa568aacb5 
								
							
								 
							
						 
						
							
							
								
								Added support for using callables as "ActiveQuery::indexBy".  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								7fa240be65 
								
							
								 
							
						 
						
							
							
								
								initial implementation of Yii debugger.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								bb2e19faa5 
								
							
								 
							
						 
						
							
							
								
								ActiveRecord::setOldAttribute() bugfix  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								8de3ffabfe 
								
							
								 
							
						 
						
							
							
								
								ActiveRecord::setAttribute() bugfix  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								826c83c301 
								
							
								 
							
						 
						
							
							
								
								ActiveRecord::getNamespacedClass() correct PHP 5.3 code  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								732e438473 
								
							
								 
							
						 
						
							
							
								
								Fixed typo in the \yii\db\ActiveRecord::isOperationAtomic() method.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								03e07f4340 
								
							
								 
							
						 
						
							
							
								
								cleaned up "use" statements.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								4a0d2863f6 
								
							
								 
							
						 
						
							
							
								
								Fixes issue  #421 : yii\db\Schema:refresh() does not clear all cache  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								cc0fe1b02c 
								
							
								 
							
						 
						
							
							
								
								code style fixes  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								663fe63911 
								
							
								 
							
						 
						
							
							
								
								Update Schema.php  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								1df859cfa1 
								
							
								 
							
						 
						
							
							
								
								typo: primarykey -> primaryKey  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								9268e7d3ac 
								
							
								 
							
						 
						
							
							
								
								message fix  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								2c02bc918d 
								
							
								 
							
						 
						
							
							
								
								migrate command, primary key  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								4efeedd314 
								
							
								 
							
						 
						
							
							
								
								Minor coding style fix.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								c338d4b76b 
								
							
								 
							
						 
						
							
							
								
								Updated code styling and added braces.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								f667b5785b 
								
							
								 
							
						 
						
							
							
								
								- Added drop/add primary key methods to Command.php  
							
							... 
							
							
 
							
							- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								864bf93679 
								
							
								 
							
						 
						
							
							
								
								coding style fix.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								a977d8208e 
								
							
								 
							
						 
						
							
							
								
								Replaced dropConstraint with dropPrimarykey method.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								3796db7d00 
								
							
								 
							
						 
						
							
							
								
								- Ported addPrimaryKey and created dropConstraint.  
							
							... 
							
							
 
							
							- The dropConstraint method can be used both for dropPrimaryKey and dropForeignKey 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								ec9dab11fa 
								
							
								 
							
						 
						
							
							
								
								[1] Redone missing code.  
							
							... 
							
							
 
							
							[2] Added empty line at the end of file
[3] Removed exception. 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								6fd74f5c27 
								
							
								 
							
						 
						
							
							
								
								Updated code style. braces on the same line for control statements.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								19793f7af0 
								
							
								 
							
						 
						
							
							
								
								Removed unused columsn from find constraint sql. Fixed typo. Added extra schema check for when a foreign table is not in the same schema. Updated indentation to conform to other classes.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								cf1e12ad11 
								
							
								 
							
						 
						
							
							
								
								Fixes issue  #514 .  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								d07fd39f7e 
								
							
								 
							
						 
						
							
							
								
								Removed false exception catching.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								879b494acb 
								
							
								 
							
						 
						
							
							
								
								Removed custom pgsql PDO and added defaultSchema as public property.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								7a7d2a9c06 
								
							
								 
							
						 
						
							
							
								
								CS fixes.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								9982d93369 
								
							
								 
							
						 
						
							
							
								
								Removed commented and unused pgsql datatype mappings.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								e505566446 
								
							
								 
							
						 
						
							
							
								
								Refactored types to be compatible with 1.1  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								5a587d16f0 
								
							
								 
							
						 
						
							
							
								
								Fixed several formatting issues.  
							
							... 
							
							
 
							
							Refactored == null to is_null == '' to empty(...) 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								70e973129d 
								
							
								 
							
						 
						
							
							
								
								Added foreign keys and cleanup internal pg types  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								9d6f11d5d5 
								
							
								 
							
						 
						
							
							
								
								new way of detecting if table exists.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								2376730452 
								
							
								 
							
						 
						
							
							
								
								better check of existence of tables.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								3680a4781d 
								
							
								 
							
						 
						
							
							
								
								removed unneccessary brackets  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								9b6df54c7d 
								
							
								 
							
						 
						
							
							
								
								Adjusted type map in MSSQL Querybuilder  
							
							... 
							
							
 
							
							MSSQL seems to support limits for decimal type, so we add a default
limit. 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								af68ee9d27 
								
							
								 
							
						 
						
							
							
								
								Sqlite unit test for abstract db types  
							
							
 
							
						 
						
							13 years ago