Carsten Brandt
5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
11 years ago
Qiang Xue
c4c328dc92
Fixes #1791 : support ON condition for relational query.
11 years ago
Carsten Brandt
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
11 years ago
Antonio Ramirez
53160797df
added tests
11 years ago
Qiang Xue
4f44bb2416
Fixes #1581 : Added `ActiveQuery::joinWith()` to support joining with relations
11 years ago
Carsten Brandt
4d1390ceb1
fixed travis mongodb
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
0b8784860f
Moved sphinx source database setup into ".sh" file allowing to use relative file path.
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
b4fb8abb87
reverted accidentally changed binary files
...
PR #1340 changed/broke them
11 years ago
Carsten Brandt
789f0285b8
adjusted sphinx tests to AR changes
11 years ago
Panagiotis Moustafellos
feef1256bd
updated travis tests README
11 years ago
Panagiotis Moustafellos
0387666c8b
added sphinx runtime pid dir
11 years ago
Panagiotis Moustafellos
75cc595630
proper db name (comply with yiitest) #2
11 years ago
Panagiotis Moustafellos
12fe9292fe
proper db name (comply with yiitest)
11 years ago
Panagiotis Moustafellos
174574ebed
created log and spl dir
11 years ago
Panagiotis Moustafellos
79771feab3
Revert "forcing travis build"
...
This reverts commit 0d8ae877d3
.
11 years ago
Panagiotis Moustafellos
0d8ae877d3
forcing travis build
11 years ago
Panagiotis Moustafellos
5290fdfc81
adding sphinx log dirs etc
11 years ago
Panagiotis Moustafellos
5cb2283d89
Travis: Adding sphinx support
11 years ago
Panagiotis Moustafellos
58bd2fb958
Only whitespace removal
11 years ago
Panagiotis Moustafellos
f6a3496e8d
Removed trailing whitespace.. (OCD really kicking in)
11 years ago
Paul Klimov
6eeeb6d169
Mongo test config fixed.
11 years ago
Klimov Paul
38df36840f
Mongo test config updated.
11 years ago
Carsten Brandt
613758dda5
refactored elasticsearch COnnection and Command
11 years ago
Paul Klimov
ae0f04be99
Mongo extension created as blank.
11 years ago
Carsten Brandt
b081cf5e46
moved elasticsearch to extensions
11 years ago
Carsten Brandt
8ac2b7364d
moved redis 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
Paul Klimov
e19c9cebc6
Sphinx has many relation test prepared.
11 years ago
Qiang Xue
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
11 years ago
Paul Klimov
9a45a04365
Create relation methods added to Sphinx Active Record.
11 years ago
Paul Klimov
6bfc888c8f
Sphinx Active Relation created
11 years ago
Paul Klimov
c355fed280
Sphinx test delta index added
11 years ago
Klimov Paul
e1065ef1fc
"snippetByModel" option added to Sphinx Active Query.
11 years ago
Klimov Paul
0bc91f29e7
Sphinx Active Record relation handling provided.
11 years ago
Klimov Paul
62968971b6
Sphinx unit test "ActiveRelationTest" created.
11 years ago