Qiang Xue
f23b7ac57e
Fixes #3564
2014-05-26 19:12:56 -04:00
Carsten Brandt
d75f0c7288
removed @link tags from apidoc and replaced with markdown
2014-05-25 22:29:31 +02:00
Carsten Brandt
18190b7348
fixes #3473 , allow precision in pgsql abstract timestamp
2014-05-25 19:20:57 +02:00
Carsten Brandt
6fd25815ba
added more types to pgsql schema, better detection
...
fixes #3578
2014-05-25 10:21:23 +02:00
zeeke
5174ea6dfb
SQLite support for disable integrity check
...
This is a porting from yii framework version 1.
I need it to run functional tests with fixtures.
2014-05-24 14:19:11 +02:00
Qiang Xue
f5dbd9a084
Fixes #3564 : Fixed the bug that primary key columns should not take default values from schema
2014-05-23 10:35:20 -04:00
Qiang Xue
6e7713ec13
Fixes #3567 : Fixed the bug that smallint was treated as string for PostgreSQL
2014-05-23 10:25:16 -04:00
Carsten Brandt
d622442acf
improved debugger on handling unreadable files
...
issue #3494
2014-05-17 14:43:47 +02:00
Qiang Xue
f648d0b1ac
Revert "Fixes #3469 : Fixed the bug that QueryBuilder::getColumnType() may drop the provided column precision in certain cases"
...
This reverts commit a46efe79c6 .
2014-05-14 11:40:58 -04:00
Qiang Xue
3411504508
Revert "Fixed test break."
...
This reverts commit 70b57766b1 .
2014-05-14 11:40:46 -04:00
Qiang Xue
70b57766b1
Fixed test break.
2014-05-14 11:29:48 -04:00
Qiang Xue
a46efe79c6
Fixes #3469 : Fixed the bug that QueryBuilder::getColumnType() may drop the provided column precision in certain cases
2014-05-14 10:28:41 -04:00
Carsten Brandt
9e0a157fa5
improved docs for AR::findAll()
2014-05-12 01:19:55 +02:00
Alexander Makarov
8886fb235f
Fixed handleException method visibility, removed unnecessary slashes from FQN
2014-05-07 20:56:51 +04:00
Alexander Makarov
bea7cf8449
Moved exception handling to schema
2014-05-07 04:27:21 +04:00
Alexander Makarov
b1d94e5c95
Removed unnecessary instance check, fixed Sphinx schema
2014-05-07 04:04:44 +04:00
Alexander Makarov
ca465eae18
Renamed handleError to handleException
2014-05-06 19:15:18 +04:00
Alexander Makarov
6cfc949691
Added CUBRID support for throwing integrity exception
2014-05-06 19:13:54 +04:00
Alexander Makarov
7764086c5d
IntegrityException should be thrown for relational DBs only
2014-05-06 19:07:23 +04:00
Alexander Makarov
d1ec2a0241
Better naming for Schema properties
2014-05-06 19:06:34 +04:00
Alexander Makarov
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
2014-05-06 18:26:27 +04:00
Alexander Makarov
b86f5a14f7
#2435 Tests for integrity exception
2014-05-06 16:56:51 +04:00
Alexander Kochetov
d041116b94
BaseActiveRecord::findAll() comment fix
2014-05-06 16:18:01 +04:00
Paul K
b09d0f12af
overwrite -> override
2014-04-29 13:54:21 +02:00
Carsten Brandt
6f7be5ee5c
filterWhere for postgres ILIKE
...
fixes #3252
2014-04-29 13:22:31 +02:00
Carsten Brandt
5c748ddb42
added case insensitve LIKE to PostgresQueryBuilder
...
fixes #3252
also improved unit tests for querybuilder buildLikeCondition
2014-04-29 12:04:10 +02:00
Qiang Xue
453ed4d93a
fixed #3268
2014-04-27 17:22:07 -04:00
Qiang Xue
9b71adb4fa
Fixes #3268 : Fixed the bug that the schema name in a table name was not respected by yii\db\mysql\Schema
2014-04-27 12:14:30 -04:00
Carsten Brandt
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
Carsten Brandt
2b593da08f
phpdoc issue
...
[ci skip]
2014-04-22 20:14:49 +02:00
Qiang Xue
7b908aa8a3
Fixes #2853 : ActiveRecord did not handle resource-typed columns well
2014-04-21 20:16:16 -04:00
Sergey Gonimar
322e9e2385
Fix BETWEEN and NOT BETWEEN conditions.
...
```
PHP Notice – yii\base\ErrorException
Undefined offset: 3
in .../yiisoft/yii2/db/QueryTrait.php at line 269
```
2014-04-17 21:42:11 +06:00
Carsten Brandt
76d8e2b5b3
code style, fixes #3140
2014-04-17 13:24:16 +02:00
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
Qiang Xue
991a894596
Added missing ROWS token when building limit/offset for MSSQL.
2014-04-15 21:01:45 -04:00
Qiang Xue
1fd0068378
Fixes #3066 : yii\db\mssql\Schema::getTableSchema() should return null when the table does not exist.
2014-04-15 20:50:43 -04:00
Qiang Xue
a60d295253
Added support for using sub-queries when building a DB query with IN condition
2014-04-15 20:20:18 -04:00
Thiago Talma
563e7e0174
Update ActiveQuery.php
...
PHPDoc comment does not match function or method signature
Update PHPDoc Comment
Adjust code standard
2014-04-15 19:58:06 -03:00
Thiago Talma
544243d517
Update ActiveRelationTrait.php
2014-04-15 01:33:42 -03:00
Qiang Xue
8bbcff70db
prepare for 2.0.0-beta release.
2014-04-13 17:58:59 -04:00
Carsten Brandt
33a00ecd7c
updated base AR phpdoc for findOne() and findAll()
2014-04-11 17:45:22 +02:00
Carsten Brandt
c6e1a2f02f
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2: (79 commits)
Refactored app bootstrap logic.
Update authorization.md
Fixes #3052 : Fixed the issue that cache dependency data is not reused when `reusable` is set true
start debug logging only if debug runs when bootstrap.
Update finnish translation
Add ODBC support to yii\db\Connection
updated error handler and requirement checker links.
fixed broken API links [skip ci]
added more doc [skip ci]
update class map.
Fixes #2034 : Added `ContentNegotiator` to support response format and language negotiation
renamed attributes to attributeNames in model
updated phpdoc
Removed `Application::preload` in favor of `Application::bootstrap`
Update module-debug.md
Update model.md
Fixes
Update basics.md
typo fix [skip ci]
Added `HtmlResponseFormatter` and `JsonResponseFormatter`
...
2014-04-10 22:22:36 +02:00
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
resurtm
1991c4cbbd
Add ODBC support to yii\db\Connection
2014-04-10 14:53:02 +06:00
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
Carsten Brandt
fa767ceaca
renamed attributes to attributeNames in model
...
fixes #3034
2014-04-09 18:54:53 +02:00
Carsten Brandt
3fdcf11f24
updated phpdoc
2014-04-09 18:51:45 +02:00
Qiang Xue
face5262e6
Merge pull request #3027 from Alex-Code/addSelect
...
addSelect method for Query
2014-04-08 08:35:34 -04:00
Alex-Code
cee5fa5dd3
New addSelect method
...
New addSelect method. Useful for scopes.
2014-04-08 12:10:29 +01:00
Ricardo Obregón
e16a3e6192
Fixed typo in phpDoc for findAll function
2014-04-08 05:55:09 -05:00