81 Commits (aeb568bee26f3d257756f5f00ee14833dc0a169b)

Author SHA1 Message Date
Qiang Xue 4727ac8f1d Refactored the feature of transactional operations. 11 years ago
Qiang Xue 6823fdedaf Fixes #717: Added ActiveRecord::hasAttribute() 11 years ago
Qiang Xue d1ebf65597 Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true. 11 years ago
Qiang Xue d135631f8e Avoid logging db errors repeatedly. 11 years ago
creocoder c091248e0d ActiveRecord::getNamespacedClass() call style 11 years ago
creocoder 02581c59e7 Make ActiveRecord::getNamespacedClass() static 11 years ago
Qiang Xue 5d9c23c67b Added Sort::hasAttribute(). 11 years ago
Ilya Antipenko 7fd68199e5 Fix SORT_DESC comment in Query.php 11 years ago
Qiang Xue 1f5d77790f Fixed test breaks. 11 years ago
Qiang Xue 20bde29f58 Added typecasting for SQL insertion and update. 11 years ago
Qiang Xue a4239efa7c Fixes #637. 11 years ago
Qiang Xue dc2843a2d7 Fixes #622. 11 years ago
Qiang Xue 0cbb05d7a2 Added Query::indexBy 11 years ago
Qiang Xue cace50cf3b use raw SQL for profiling. 11 years ago
Qiang Xue ee994efdf0 polishing debugger. 11 years ago
Qiang Xue f03cdf0a47 renamed Command::queryRow() to queryOne(). 11 years ago
Qiang Xue c4a57a9f6c Refactored Query and ActiveQuery. 11 years ago
Qiang Xue aa568aacb5 Added support for using callables as "ActiveQuery::indexBy". 11 years ago
Qiang Xue 7fa240be65 initial implementation of Yii debugger. 11 years ago
Alexander Kochetov bb2e19faa5 ActiveRecord::setOldAttribute() bugfix 11 years ago
Alexander Kochetov 8de3ffabfe ActiveRecord::setAttribute() bugfix 11 years ago
Alexander Kochetov 826c83c301 ActiveRecord::getNamespacedClass() correct PHP 5.3 code 11 years ago
resurtm 732e438473 Fixed typo in the \yii\db\ActiveRecord::isOperationAtomic() method. 11 years ago
Qiang Xue 03e07f4340 cleaned up "use" statements. 11 years ago
Qiang Xue 4a0d2863f6 Fixes issue #421: yii\db\Schema:refresh() does not clear all cache 11 years ago
Alexander Makarov cc0fe1b02c code style fixes 11 years ago
gsd 663fe63911 Update Schema.php 11 years ago
Carsten Brandt 1df859cfa1 typo: primarykey -> primaryKey 11 years ago
sergey Gonimar 9268e7d3ac message fix 11 years ago
sergey Gonimar 2c02bc918d migrate command, primary key 11 years ago
Qiang Xue 4efeedd314 Minor coding style fix. 11 years ago
gevik c338d4b76b Updated code styling and added braces. 11 years ago
gevik f667b5785b - Added drop/add primary key methods to Command.php 11 years ago
Qiang Xue 864bf93679 coding style fix. 11 years ago
gevik a977d8208e Replaced dropConstraint with dropPrimarykey method. 11 years ago
gevik 3796db7d00 - Ported addPrimaryKey and created dropConstraint. 11 years ago
gevik ec9dab11fa [1] Redone missing code. 11 years ago
gevik 6fd74f5c27 Updated code style. braces on the same line for control statements. 11 years ago
gevik 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. 11 years ago
Qiang Xue cf1e12ad11 Fixes issue #514. 11 years ago
gevik d07fd39f7e Removed false exception catching. 11 years ago
Gevik Babakhani 879b494acb Removed custom pgsql PDO and added defaultSchema as public property. 11 years ago
resurtm 7a7d2a9c06 CS fixes. 11 years ago
Gevik Babakhani 9982d93369 Removed commented and unused pgsql datatype mappings. 11 years ago
Gevik Babakhani e505566446 Refactored types to be compatible with 1.1 11 years ago
Gevik Babakhani 5a587d16f0 Fixed several formatting issues. 11 years ago
Gevik Babakhani 70e973129d Added foreign keys and cleanup internal pg types 11 years ago
Qiang Xue 9d6f11d5d5 new way of detecting if table exists. 11 years ago
Qiang Xue 2376730452 better check of existence of tables. 11 years ago
Carsten Brandt 3680a4781d removed unneccessary brackets 11 years ago