Carsten Brandt
e15860c3fa
more on elasticsearch Query interface added facet search
11 years ago
Carsten Brandt
c6347d6d01
polished elasticsearch AR api, added mget and fixed AR::equals()
11 years ago
Qiang Xue
a07facf434
Refactored hasMany and hasOne so that they support cross-DBMS relationship.
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
11 years ago
Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
11 years ago
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
11 years ago
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Carsten Brandt
913eb62294
updated phpdoc and fixed generator read/write-only annotation
11 years ago
Carsten Brandt
0bc8cbf158
php-doc
...
[ci skip]
11 years ago
Carsten Brandt
c4468ac315
forgot to remove strtolower from __get and __unset
11 years ago
Carsten Brandt
a23c54acb8
made relation names in AR case sensitive
11 years ago
Carsten Brandt
90839ceb5d
Proposal for accessing populated relations
...
fixes #842
- allows checking whether a relation has been populated
- getting a list of relation names that have been populated
- getting all populated relation data
todo:
- [] add phpdoc
11 years ago
Carsten Brandt
d8b94d647b
made AR attribute manipulation behave consistent to hasAttribute()
11 years ago
Alexander Mohorev
18fbd7510a
Missing return statement
11 years ago
Carsten Brandt
0146596647
add relationClassName to AR to allow different relation classes
...
... for different dbms
11 years ago
Qiang Xue
6c6dd01122
Fixes #1052 : unset related data when ActiveRecord::refresh() is called.
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
6133133ec0
added dependency in db\AR -> redis\AR needs to be refactored later
...
this is to make relations work. tests are passing now.
refactoring needed to remove the dependency
11 years ago
Carsten Brandt
c6c164dc71
made link() and unlink() compatible with NoSQL AR
11 years ago
Carsten Brandt
77a3eec343
ActiveRecord::isPrimaryKey() made public
11 years ago
Qiang Xue
a2b4ef0f82
Fixes #876 .
11 years ago
Qiang Xue
c6f4dac249
Refactored AR code.
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
04a0ca5aab
revert accidental change in db ActiveRecord
11 years ago
Carsten Brandt
e3df19d984
Redis AR WIP
...
- introduced RecordSchema class for schema definition
11 years ago
Niko Wicaksono
a042d20c22
Use `hasAttribute()` instead to avoid code duplication
11 years ago
Qiang Xue
4727ac8f1d
Refactored the feature of transactional operations.
11 years ago
Qiang Xue
6823fdedaf
Fixes #717 : Added ActiveRecord::hasAttribute()
11 years ago
creocoder
c091248e0d
ActiveRecord::getNamespacedClass() call style
11 years ago
creocoder
02581c59e7
Make ActiveRecord::getNamespacedClass() static
11 years ago
Qiang Xue
a4239efa7c
Fixes #637 .
11 years ago
Qiang Xue
dc2843a2d7
Fixes #622 .
11 years ago
Alexander Kochetov
bb2e19faa5
ActiveRecord::setOldAttribute() bugfix
12 years ago
Alexander Kochetov
8de3ffabfe
ActiveRecord::setAttribute() bugfix
12 years ago
Alexander Kochetov
826c83c301
ActiveRecord::getNamespacedClass() correct PHP 5.3 code
12 years ago
resurtm
732e438473
Fixed typo in the \yii\db\ActiveRecord::isOperationAtomic() method.
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
2376730452
better check of existence of tables.
12 years ago
Carsten Brandt
0a5b7a5960
docs: Be explicitly clear about ActiveRecord::create()
12 years ago
Carsten Brandt
689080519e
Added support for previous exceptions
...
PHP supports exception stacks since 5.3 so we should use it.
Also Errorhandler is now able to display the stack: #297
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
resurtm
4973838b69
Better argument name in the ActiveRecord::isOperationAtomic() method.
12 years ago
resurtm
944e1fc0fe
isOpAtomic → isOperationAtomic
12 years ago
resurtm
35688b327b
AR atomic scenarios fixes.
12 years ago
resurtm
a54c1cd684
Fixes #226 : atomic operations and transaction support in AR.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago