Carsten Brandt
d2c7ef76b3
more tests
11 years ago
Carsten Brandt
142ea1f98f
relation support and unit tests
11 years ago
Carsten Brandt
7850c8d238
made indexBy callable like db AR
11 years ago
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
11 years ago
Carsten Brandt
130b63461c
redis WIP
...
- relation support
- completed and refactored lua script builder
11 years ago
Carsten Brandt
e62e84873c
more API methods for redis active query: sum, avg, max, min ...
11 years ago
Carsten Brandt
7817815dd1
added more complex queries via Lua script EVAL to redis
...
- http://redis.io/commands/eval
- http://www.lua.org/
11 years ago
Carsten Brandt
72889128fc
fixed offset and limit in redis AR
11 years ago
Carsten Brandt
563171eba4
moved redis out of yii\db namespace
11 years ago
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Carsten Brandt
d3740932a4
fixed broken cubrid tests
...
fixed expected quoting
11 years ago
Qiang Xue
6c6cb3cd90
Fixes #853 : Added composite FK support for SQLite.
11 years ago
Qiang Xue
02fd82c42a
Fixed build break.
11 years ago
Qiang Xue
6fe152da7e
Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.
11 years ago
Qiang Xue
91b6e2945a
Removed the support for calling anonymous function returned as a property value.
11 years ago
Carsten Brandt
164c70eebc
Add support for composite FK to cubrid
11 years ago
Carsten Brandt
8abeed03bd
added SchemaTest
11 years ago
Carsten Brandt
544e412af8
unit test cleanup
11 years ago
Carsten Brandt
e996f3dfd5
Workaround for broken PDO::quote() in CUBRID 9.1.0
...
http://jira.cubrid.org/browse/APIS-658
11 years ago
Carsten Brandt
58f8293b84
custom bindValue test for cubrid
11 years ago
Carsten Brandt
791f9d3f4e
better use int for boolean representation
...
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
11 years ago
Carsten Brandt
d6ff097cbb
avoid hanging test on bindValue problems (close db connection in tearDown)
11 years ago
Carsten Brandt
825258efb8
cubrid unit tests WIP
11 years ago
Carsten Brandt
15a3ec2764
added unit tests and call to $behavior->hasMethod in Component
11 years ago
Carsten Brandt
b5a6dac3ae
renamed test method after implementation rename in FileHelper
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Qiang Xue
30d6229943
Fixed test break.
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
11 years ago
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
11 years ago
Carsten Brandt
0cd65e7496
commented failing tests
11 years ago
Carsten Brandt
e3df19d984
Redis AR WIP
...
- introduced RecordSchema class for schema definition
11 years ago
Alexander Makarov
b968402ebd
more tests for FileHelper
11 years ago
Alexander Makarov
cc5618c034
More tests for ArrayHelper and Inflector
11 years ago
Qiang Xue
4a02e0b539
finished form generator.
11 years ago
Qiang Xue
65352e500f
refactored ActiveField.
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Carsten Brandt
b84097c1ae
fixed redis response parsing for large data
...
fixes #743
11 years ago
Qiang Xue
24a66b383d
test break fix.
11 years ago
Qiang Xue
6d66a98acb
test break fix.
11 years ago
Qiang Xue
7aeb2fcf4f
Fixed test breaks.
11 years ago
Qiang Xue
27238f8d03
refactored ActiveDataProvider.
11 years ago
Qiang Xue
60ba20491e
Added support for passing parameters to the format method.
11 years ago
Qiang Xue
b31b02a55d
renamed IDataProvider::getItems() to getModels()
11 years ago
Qiang Xue
b1c67b86a9
Fixed test break.
11 years ago
Qiang Xue
e433c98ed4
Fixes #599
11 years ago
Qiang Xue
915a3cd779
Fixes #653 : use boolean type to indicate boolean attributes.
11 years ago
Qiang Xue
6f4e2c9b3c
Fixes #647
11 years ago
Qiang Xue
dacee193fa
test break fix.
11 years ago