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
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
Alexander Makarov
4205623918
Fixes #1312 : fixed types map for MSSQL
11 years ago
Carsten Brandt
5164a1671c
finalized Query interface + general cleanup
11 years ago
Carsten Brandt
8be4f3778a
updated properties of extensions
11 years ago
Carsten Brandt
de1b533a08
fixed cubrid limit
11 years ago
Qiang Xue
0b43aa4f81
Fixes #1310 : ActiveRelation does not preserve order of items on find via() and viaTable()
11 years ago
Carsten Brandt
6920da4a80
fixed limit/offset for sqlite,mysql and cubrid
...
tests for this are on elasticsearch branch (due to huge refactoring
there) and will come later by merge
11 years ago
Carsten Brandt
f017ba357f
refactored unit tests. put common AR tests in trait
11 years ago
John Was
e9fcde3264
support for batch insert in sqlite older than 3.7.11
11 years ago
Qiang Xue
69fa7bab6b
Fixes #1307 : move batchInsert() to base class.
11 years ago
Carsten Brandt
58b1538b39
refactored elasticsearch Querybuilder build conditions
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
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
Qiang Xue
fb945866c7
Fixes #1255 : typecast empty string to null for non-string DB columns.
11 years ago
Qiang Xue
9ef3560f5a
Fixed test break.
11 years ago
Qiang Xue
f67ddb17f6
Fixes #1242 : Gii Model generation added dropped table fields in Postgresql
11 years ago
Qiang Xue
dbf35253b7
Fixes #1237 .
11 years ago
Carsten Brandt
a0824422b2
removed duplicate assignment of primaryKey in cubrid
11 years ago
Qiang Xue
a2fe128455
refactored query and relation.
11 years ago
Qiang Xue
c7ff329e3c
doc fix.
11 years ago
Carsten Brandt
6a4ed5a1e8
fixed cubrid schema primary key detection
11 years ago
Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
11 years ago