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
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
11 years ago
Carsten Brandt
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
11 years ago
Carsten Brandt
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
11 years ago
Carsten Brandt
48712c71f2
added notes about default limit set by elasticsearch
...
fixes #1864
11 years ago
Carsten Brandt
796284cba1
reworked fix for #1993
11 years ago
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
11 years ago
Qiang Xue
da9d544c54
psr-4 change.
11 years ago
Carsten Brandt
5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
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
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
40fc84b342
cleanup & docs
11 years ago
Carsten Brandt
5164a1671c
finalized Query interface + general cleanup
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
af5d87ac4d
renamed elasticsearch PK to id
11 years ago
Carsten Brandt
983b2286ba
elasticsearch AR relations + null values
11 years ago
Carsten Brandt
e15860c3fa
more on elasticsearch Query interface added facet search
11 years ago
Carsten Brandt
679da53390
polished Query API
11 years ago
Carsten Brandt
426223af1d
more query methods and fixes
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
9f12185362
elasticsearch ActiveRelation and activeQuery
11 years ago
Carsten Brandt
d442f05631
elasticsearch find by simple condition
11 years ago
Carsten Brandt
955bf7daaf
basic CRUD for elastic search WIP
11 years ago
Carsten Brandt
a94886fafd
elasticsearch AR WIP copied parts from redis implementation
11 years ago