Qiang Xue
c4c328dc92
Fixes #1791 : support ON condition for relational query.
11 years ago
Qiang Xue
4f44bb2416
Fixes #1581 : Added `ActiveQuery::joinWith()` to support joining with relations
11 years ago
Paul Klimov
9b5f3fab99
Extension "mongo" renamed into "mongodb"
11 years ago
Klimov Paul
ca608a81a4
Mongo file Active Record updated.
11 years ago
Paul Klimov
750c6275c0
Sphinx test AR classes moved to 'data/ar/sphinx'.
11 years ago
Klimov Paul
1129d820ed
Mongo Active Relation unit test fixed.
11 years ago
Paul Klimov
3fd6d95aff
Unit test for Mongo Active Relation added.
11 years ago
Paul Klimov
9c7d2b23c2
Mongo Active Record and Active Query fixed.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Carsten Brandt
613758dda5
refactored elasticsearch COnnection and Command
11 years ago
Carsten Brandt
b081cf5e46
moved elasticsearch to extensions
11 years ago
Carsten Brandt
325fc28182
several fixes and cleanup
11 years ago
Carsten Brandt
af5d87ac4d
renamed elasticsearch PK to id
11 years ago
Carsten Brandt
643593737d
added test case for #1310
11 years ago
Carsten Brandt
f017ba357f
refactored unit tests. put common AR tests in trait
11 years ago
Carsten Brandt
983b2286ba
elasticsearch AR relations + null values
11 years ago
Carsten Brandt
779d6b6e96
fixed count and asArray()
11 years ago
Carsten Brandt
39ff11a374
first draft of elasticsearch AR
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
11 years ago
Carsten Brandt
8542448f20
refactored redis AR to relect the latest changes
...
- make use of traits
- short array
- better implementation of query findByPk
11 years ago
Carsten Brandt
34945b0b69
added unit test to verify storing of null values
...
http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019
11 years ago
Carsten Brandt
c62e0cbbfb
added unit test to verify AR afterSave isNewRecord value
...
closes #1084
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
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
Carsten Brandt
f974e1a59f
fixed validator test break
11 years ago
Carsten Brandt
d442f05631
elasticsearch find by simple condition
11 years ago
Carsten Brandt
a94886fafd
elasticsearch AR WIP copied parts from redis implementation
11 years ago
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
11 years ago
Carsten Brandt
563171eba4
moved redis out of yii\db namespace
11 years ago
Carsten Brandt
3a347c3587
added property docs to AR test classes
11 years ago
Carsten Brandt
e3df19d984
Redis AR WIP
...
- introduced RecordSchema class for schema definition
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Qiang Xue
034d88e5e4
Fixes issue #134
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Carsten Brandt
79982c9848
Redis Insert, Update, Delete and Find is ready and roughly unit tested
...
relations are not working yet
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
abd3d827a2
refactoring.
12 years ago
Qiang Xue
b51d347465
Added count, average, sum, min, max, scalar methods to ActiveQuery.
...
Added support for scopes defined in AR classes.
12 years ago
Qiang Xue
5d90e6da80
removed scopes.
...
finished AR documentation.
12 years ago
Qiang Xue
3ca50f3043
clean up AR
12 years ago
Qiang Xue
46ab456f4e
finished new AR.
12 years ago
Qiang Xue
c9b104f0a1
refactored AR relation.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
30c52fad96
finished draft implementation of new AR.
12 years ago
Qiang Xue
4d049fd97c
AR WIP
12 years ago
Qiang Xue
44af0aa97a
AR wip
12 years ago
Qiang Xue
377181a008
new AR WIP
12 years ago
Qiang Xue
d876da383e
...
12 years ago