Carsten Brandt
505762d49c
updated docs about active relation
11 years ago
Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
11 years ago
Carsten Brandt
e76fb238d4
added missing use statement
11 years ago
Carsten Brandt
3b40d44909
made createQuery() config param optional
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
Qiang Xue
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
11 years ago
Qiang Xue
25b466d278
Fixes #2083 : make sure keys of object type work with ActionColumn, GridView, etc.
11 years ago
Paul Klimov
be2b76d40f
Method "callSnippetsInternal" for the Sphinx Query extracted
11 years ago
Qiang Xue
f59598bb8b
Added support for building SQLs with sub-queries
11 years ago
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Alexander Makarov
0e8063302d
Removed unused variable
11 years ago
Carsten Brandt
4a9f47bedd
refactored sphinx and db AR to call parent implementation of populateRecord()
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
Qiang Xue
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
11 years ago
Qiang Xue
f6dd6fa2e9
Renamed `ActiveRecordInterface::createActiveRelation()` to `createRelation()`
11 years ago
Qiang Xue
5b3fa9f5ba
Fixes #2091 : `QueryBuilder::buildInCondition()` fails to handle array not starting with index 0
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
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Paul Klimov
3db7a07534
Method "yii\sphinx\ActiveRecord::find()" removed in favour of "BaseActiveRecord::find()".
11 years ago
Paul Klimov
c9624eee55
Sphinx Active Record refactored to extend "BaseActiveRecord".
11 years ago
Carsten Brandt
d52cf5a222
Fixed sphinx composer.json
11 years ago
Qiang Xue
73442fb12a
doc fix.
11 years ago
Qiang Xue
8245e574d9
fixed readme
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Paul Klimov
3dbb3d40dd
Sphinx unit tests 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
16239c2395
reverted wrong change in sphinx
11 years ago
Panagiotis Moustafellos
21014b4064
swapped docs and Exception to type InvalidParamException
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
324e10694d
updated sphinx active record with changes from DB AR
11 years ago
Carsten Brandt
e2ff98ab53
fixed broken sphinx AR::attributes() declaration
...
Model::attributes() has been made static
11 years ago
Carsten Brandt
8be4f3778a
updated properties of extensions
11 years ago
Carsten Brandt
e837e44ac1
updated ext composer.json for issue labels
11 years ago
Carsten Brandt
8ac2b7364d
moved redis to extensions
11 years ago
Klimov Paul
5a8afcf720
"yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
11 years ago
Klimov Paul
2c22fe3f25
Code style and docs at "yii\sphinx\*" fixed.
11 years ago
Paul Klimov
400b5310ca
Docs for Sphinx extension updated.
11 years ago
Paul Klimov
01c269a912
Redundant typecast removed from yii\sphinx\ActiveRecord::create()
11 years ago
Paul Klimov
c1b5946d40
yii\sphinx\Command reworked to extend yii\db\Command.
...
yii\sphinx\DataReader removed.
11 years ago
Paul Klimov
765d47d00d
Sphinx Active Record updated to be compatible with ActiveDataProvider.
11 years ago
Klimov Paul
bb46d0594e
Sphinx documentation updated.
11 years ago
Paul Klimov
d1c87c7e31
Sphinx documentation updated.
11 years ago
Paul Klimov
6a5b8d1904
Sphinx Query refactored.
11 years ago
Paul Klimov
9a45a04365
Create relation methods added to Sphinx Active Record.
11 years ago
Paul Klimov
8bec8c5f57
Sphinx Query Builder updated to respect column types for where statements
11 years ago
Paul Klimov
6bfc888c8f
Sphinx Active Relation created
11 years ago