Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
resurtm
1991c4cbbd
Add ODBC support to yii\db\Connection
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Carsten Brandt
fa767ceaca
renamed attributes to attributeNames in model
...
fixes #3034
11 years ago
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Alex-Code
cee5fa5dd3
New addSelect method
...
New addSelect method. Useful for scopes.
11 years ago
Ricardo Obregón
e16a3e6192
Fixed typo in phpDoc for findAll function
11 years ago
Qiang Xue
5e9015c89a
Fixes #2968 .
11 years ago
Qiang Xue
0e143338d7
Finished refactoring find() .
11 years ago
Qiang Xue
b7d6f6141a
Added `isAssociative()` and `isIndexed()` to `yii\helpers\ArrayHelper`
11 years ago
Alexander Makarov
75154d351d
Refactored AR find
11 years ago
Qiang Xue
02c3c37a00
Fixes #2986 .
11 years ago
Carsten Brandt
1a3accb6cb
removed duplicated joins when using joinWith and via relations
...
fixes #2650
11 years ago
Carsten Brandt
44dbb2235a
cleanup docs
11 years ago
Qiang Xue
54e08f3f01
fixed build break.
11 years ago
Qiang Xue
8b4dfcc876
Fixes #2955 : Changed the signature of ActiveQuery constructors and `ActiveRecord::createQuery()` to simplify customizing ActiveQuery classes
11 years ago
Qiang Xue
0fa19291f1
refactored filterWhere().
11 years ago
Qiang Xue
869d96ee0d
Fixed test break.
11 years ago
Carsten Brandt
e9e59483f4
removed unnecessary code duplication
11 years ago
Carsten Brandt
96f1c4c10b
renamed Query::filter() to Query::filterWhere()
11 years ago
Carsten Brandt
a35ef1ce7a
added andOnCondition and orOnCondition to ActiveQuery
...
fixes #2957
11 years ago
Evgeniy Tkachenko
90caa527f2
Update ActiveRecord.php
...
fix for https://github.com/yiisoft/yii2/pull/2958
11 years ago
Qiang Xue
271dccdc6b
Fixes #2931 .
11 years ago
Alexander Makarov
06fdb79730
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
11 years ago
Qiang Xue
338b6aa7d3
Refactored ActiveRecord::find() so that find(null) will also return an ActiveRecord instance instead of ActiveQuery.
11 years ago
Alexander Makarov
cb4488ae4c
Implemented Oracle column comment reading from another schema
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Alexander Makarov
8cd247730a
Query::filter() adjustments
11 years ago
Qiang Xue
d44e42ab9e
Fixed oci querybuilder.
11 years ago
Qiang Xue
13c0931b23
Fixes #2880
11 years ago
Carsten Brandt
c73cfe147f
Fixed inconsistencies with setting old attributes and pks
...
issue #2892
11 years ago
Carsten Brandt
f4395206b7
reset dirty attributes after `afterSave`
...
so information about changed values is available in `afterSave`-event.
fixes #2892
11 years ago
Alexander Makarov
3c1a8141fd
fixes #2002
11 years ago
Qiang Xue
ec3aadfffb
Fixes #2862 : Using `DbCache` while enabling schema caching may cause infinite loops
11 years ago
Qiang Xue
f3c26d3c6b
Fixes #2880 .
11 years ago
Qiang Xue
39667aa6b7
Fixed activequery select issue.
11 years ago
Qiang Xue
bc378d1cae
properly quote table names for join().
11 years ago
Carsten Brandt
27659d1776
fixed FileHelper private method static call
11 years ago
Qiang Xue
78136d4278
Fixes #2880 : filterByModels() should prefix key columns in a join query.
11 years ago
Carsten Brandt
8a6eceb852
phpdoc fixes
11 years ago
Carsten Brandt
9b8372d580
phpdoc
11 years ago
Carsten Brandt
488767914a
do not remove records that have no primary key selected
...
this problem occurs when joining active record but not selecting the
primary key field. records get populated but they do not have primary
key value populated which results in only one record left over in the
result.
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8053082e0c
Fixes #2848 : Individual queries should be enclosed within parenthesis in a UNION query
11 years ago
Koudy
411dc71b09
Fixed getting the count for queries with the union
11 years ago
Qiang Xue
7f4c28231b
Fixes #2826
11 years ago
Alexander Makarov
af030c5f5b
Added $skipIfSet to ActiveRecord::loadDefaultValues
11 years ago
Alexander Makarov
c24ae25be2
Fixed getting default values from schema for SQLite
11 years ago
Alexander Makarov
1ff9dedf60
Fixed getting default value from postgres schema
11 years ago
Alexander Makarov
39b0c454e1
Default values init moved to a method that should be called manually
11 years ago