Carsten Brandt
6920da4a80
fixed limit/offset for sqlite,mysql and cubrid
...
tests for this are on elasticsearch branch (due to huge refactoring
there) and will come later by merge
11 years ago
Qiang Xue
69fa7bab6b
Fixes #1307 : move batchInsert() to base class.
11 years ago
Qiang Xue
a07facf434
Refactored hasMany and hasOne so that they support cross-DBMS relationship.
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
11 years ago
Qiang Xue
fb945866c7
Fixes #1255 : typecast empty string to null for non-string DB columns.
11 years ago
Qiang Xue
9ef3560f5a
Fixed test break.
11 years ago
Qiang Xue
f67ddb17f6
Fixes #1242 : Gii Model generation added dropped table fields in Postgresql
11 years ago
Qiang Xue
dbf35253b7
Fixes #1237 .
11 years ago
Carsten Brandt
a0824422b2
removed duplicate assignment of primaryKey in cubrid
11 years ago
Qiang Xue
a2fe128455
refactored query and relation.
11 years ago
Qiang Xue
c7ff329e3c
doc fix.
11 years ago
Carsten Brandt
6a4ed5a1e8
fixed cubrid schema primary key detection
11 years ago
Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
11 years ago
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
11 years ago
Carsten Brandt
8250cfbb0f
reverted change of count() signature
11 years ago
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
11 years ago
Carsten Brandt
b8e31d50bb
renamed AR trait classes
11 years ago
Carsten Brandt
8a4dffed9d
fixed ActiveRelation::__clone() to work with via relation
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Qiang Xue
23573968a6
Changed important log messages to info level
11 years ago
mcd-php
365bdcf68a
FIX: Relation names not mangled in \yii\db\ActiveQuery::normalizeRelations
11 years ago
Qiang Xue
49081f0566
Fixes test break.
11 years ago
Carsten Brandt
913eb62294
updated phpdoc and fixed generator read/write-only annotation
11 years ago
Qiang Xue
bc393ff5d3
added doc about sub-relation.
11 years ago
Carsten Brandt
0bc8cbf158
php-doc
...
[ci skip]
11 years ago
Carsten Brandt
c4468ac315
forgot to remove strtolower from __get and __unset
11 years ago
Carsten Brandt
a23c54acb8
made relation names in AR case sensitive
11 years ago
Qiang Xue
b700f7129e
fixes #1142 : exposes Command::params.
11 years ago
Qiang Xue
9862ee35b2
Fixes #1115 : fixed the issue with PDO boolean value binding with pgsql
11 years ago
Qiang Xue
1551f8443c
Fixed pgsql column type detection bug.
11 years ago
Qiang Xue
26c7f6d62f
Fixed sqlite column type detection bug.
11 years ago
Carsten Brandt
90839ceb5d
Proposal for accessing populated relations
...
fixes #842
- allows checking whether a relation has been populated
- getting a list of relation names that have been populated
- getting all populated relation data
todo:
- [] add phpdoc
11 years ago
Carsten Brandt
d8b94d647b
made AR attribute manipulation behave consistent to hasAttribute()
11 years ago
Carsten Brandt
415144489e
made querybuilder condition methods public
11 years ago
Alexander Mohorev
5860599ef7
PhpDoc comment
11 years ago
Alexander Mohorev
18fbd7510a
Missing return statement
11 years ago
Иван Багаев
64641cbd76
Add batchInsert method to yii\db\Migration
11 years ago
Carsten Brandt
f153ce443a
reverted non working fix for #1115
11 years ago
Carsten Brandt
7c630a6246
fixed problem with Postgres PDO and Boolean values
...
See the following resources for details:
yiisoft/yii#779
https://bugs.php.net/bug.php?id=33876
http://www.yiiframework.com/forum/index.php/topic/32334-boolean-type-with-postgresql/page__view__findpost__p__155647
11 years ago
Qiang Xue
bd82170142
Fixes #1096 : pgsql: sequence name not matched
11 years ago
Carsten Brandt
3130aadb33
fixed conflicting property declaration
11 years ago
Carsten Brandt
0146596647
add relationClassName to AR to allow different relation classes
...
... for different dbms
11 years ago
Carsten Brandt
4653526262
moved common parts of db ActiveRelation and Query to traits
...
these parts can be reused in other ActiveRecord implementations
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Panagiotis Moustafellos
80e816efc3
pgsql: added 'bool' type (alias of 'boolean')
...
Relates #1086 and #1087
11 years ago
Qiang Xue
6c6dd01122
Fixes #1052 : unset related data when ActiveRecord::refresh() is called.
11 years ago
Qiang Xue
fb8e818204
Dropped support for supporting default namespace for classes of related models.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
e115b0c860
Updated docs, composer.json and other things to mention and use PHP 5.4
11 years ago