Luciano Baraglia
d376da57e4
Get DB unique indexes information
11 years ago
Qiang Xue
0345191245
Added ActiveQuery::innerJoinWith().
11 years ago
Qiang Xue
dc720d9bf4
more docs about joinwith()
11 years ago
Qiang Xue
4f44bb2416
Fixes #1581 : Added `ActiveQuery::joinWith()` to support joining with relations
11 years ago
Qiang Xue
2402d2d031
Draft implementation of ActiveQuery::joinWith().
11 years ago
Edin
5e092ac619
Fixed sequence id match for postgresql
...
PgAdmin generates sequence as '"Schema"."Table_seq"'::regclass when
non public schema is used.
11 years ago
Qiang Xue
56c361bb9e
Fixed changelog.
11 years ago
Qiang Xue
55deceb061
Fixes #1076
11 years ago
Vincent
488918d03c
Refinement in comments
...
I checked this using XDebug, and the function actually returns null (which is something different than false). I assume it is the comment that should be changed, and not the code itself...
11 years ago
Qiang Xue
9649a6727a
Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator`.
...
Refactored UniqueValidator and ExistValidator.
11 years ago
Qiang Xue
d620f3152e
refactored BaseActiveRecord::isPrimaryKey()
11 years ago
Qiang Xue
d5f40b42cf
Added ActiveRecordInterface::getOldPrimaryKey().
11 years ago
Qiang Xue
42d8748e6e
Fixes #1579 : throw exception when the given AR relation name does not match in a case sensitive manner.
...
Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()`
11 years ago
Carsten Brandt
b4612637ec
make count behave like in SQL
...
also fixed count behavior according to limit and offset.
fixes #1458
11 years ago
Paul Kofmann
8c4412be50
short array syntax
11 years ago
Carsten Brandt
7a81110f6b
make ActiveRelation reusable
...
fixes #1560
11 years ago
Carsten Brandt
b2d9166927
refactored scalar query functions to share common code
11 years ago
Carsten Brandt
124a73a598
make Query reuseable
...
fixes #1545
11 years ago
Carsten Brandt
2febbebb44
fixed params in Query to allow execution twice
...
fixes #1545
11 years ago
Carsten Brandt
454174a688
added NOT operator for db, elasticsearch, redis
...
issue #1523
11 years ago
Carsten Brandt
43f19e8aee
use andWhere() in AR::find() to work properly with default scope
...
fixes #1469
11 years ago
Qiang Xue
8b375c3580
clean up oci driver.
11 years ago
Carsten Brandt
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
11 years ago
p0larbeer
d30aa3efef
Coding style PSR-2
11 years ago
Qiang Xue
1f5f19df13
Fixes #1457 : support using AR relations as input.
11 years ago
Qiang Xue
a5188f1fbc
Fixes #1457 : support string representation of AR.
11 years ago
Qiang Xue
4b2659aeab
removed schema prefix from returned table names.
11 years ago
Qiang Xue
64ef54bf18
Fixes #1435 : pgsql getTableNames() should not prefix table names with schema name.
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
Qiang Xue
b0568612bf
Fixes #1402 : AR eager loading has problem when asArray() is used together with viaTable().
11 years ago
p0larbeer
9f0e97ff25
Create Schema.php
11 years ago
p0larbeer
32149a5bef
Create QueryBuilder.php
11 years ago
p0larbeer
b00a84762c
Create ColumnSchema.php
11 years ago
Qiang Xue
24621c3dd1
improved doc
11 years ago
Klimov Paul
cddb878360
ActiveRelationTrait::getModelKey() updated to work with non scalar keys.
11 years ago
Qiang Xue
73442fb12a
doc fix.
11 years ago
Carsten Brandt
d0fc987f0b
fixed test break
11 years ago
Qiang Xue
79866ee3e0
Improved Query::select() doc.
11 years ago
Carsten Brandt
c3eb4d926c
created BaseActiveRecord
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Qiang Xue
fb3ebe7000
doc cleanup.
11 years ago
Carsten Brandt
9238434db7
ActiveRecord Interface
11 years ago
Qiang Xue
0390a99833
Use backquotes to quote column and table names for sqlite (related with #1318 )
11 years ago
Qiang Xue
3b5768b40a
avoid throwing the same type of new db exception.
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
Panagiotis Moustafellos
58bd2fb958
Only whitespace removal
11 years ago
Panagiotis Moustafellos
f6a3496e8d
Removed trailing whitespace.. (OCD really kicking in)
11 years ago
Qiang Xue
bf708aa824
Fixes #1334 : foreign key is incorrectly determined for pgsql.
11 years ago
Panagiotis Moustafellos
21014b4064
swapped docs and Exception to type InvalidParamException
11 years ago