28 Commits

Author SHA1 Message Date
d8feaeb93b refactored redis AR Query::scalar() 2013-11-23 03:20:49 +01:00
a07facf434 Refactored hasMany and hasOne so that they support cross-DBMS relationship. 2013-11-22 20:47:39 -05:00
6995e8ddd0 removed call to nonexistsend property 2013-11-22 19:02:27 +01:00
4459cb4f2b cleanup redis AR 2013-11-22 19:01:33 +01:00
cb4504a10f refactored Model and redis AR to allow drop of RecordSchema 2013-11-22 18:44:22 +01:00
8542448f20 refactored redis AR to relect the latest changes
- make use of traits
- short array
- better implementation of query findByPk
2013-11-22 17:29:05 +01:00
bc4324c041 Merge branch 'master' into redis
* master: (613 commits)
  fixed typo
  Fixes #1222: refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Added example for dividers to bootstrap Nav
  Checkboxlist documentation fix
  Added "Using controller action to render errors"
  Fix doc
  Renamed DetailView attribute type to format
  encode email in Formatter
  Added default status code setting.
  "yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
  fix rbac select statement
  Comments cleanup.
  Reverted closeButton
  Nomenclature and code realignment.
  better nginx config
  guide about using bootstrap less files
  Include Schema in new migrations by default
  ...

Conflicts:
	framework/yii/db/ActiveRecord.php
	framework/yii/db/ActiveRelation.php
	tests/unit/data/config.php
2013-11-22 15:04:08 +01:00
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
179618c6e9 fixed empty result in findByPk list 2013-09-30 15:39:04 +02:00
b95c056b02 fixed problem with not closed transaction in deleteAll() 2013-09-25 16:58:23 +02:00
172a9f19b3 apply changes to db\AR -> redis\AR 2013-09-25 12:36:24 +02:00
df22ffa304 redis AR cleanup 2013-09-25 11:54:43 +02:00
f3aa807d8f ensure atomicity of operations 2013-09-25 11:41:41 +02:00
c6c164dc71 made link() and unlink() compatible with NoSQL AR 2013-09-25 11:40:59 +02:00
3e75c11721 cleanup and reorder methods in redis ar + added link+unlink 2013-09-24 20:16:39 +02:00
28c7acc469 fixed BETWEEN comparision to match >= and <= 2013-09-24 19:33:00 +02:00
86c93cf49a diff between db\ActiveQuery and redis\ActiveQuery 2013-09-24 19:31:59 +02:00
142ea1f98f relation support and unit tests 2013-09-24 19:10:49 +02:00
7850c8d238 made indexBy callable like db AR 2013-09-24 19:09:59 +02:00
3623fc19dc refactored redis AR pk and findByPk 2013-09-24 19:04:38 +02:00
130b63461c redis WIP
- relation support
- completed and refactored lua script builder
2013-09-24 15:27:54 +02:00
e62e84873c more API methods for redis active query: sum, avg, max, min ... 2013-09-22 16:29:56 +02:00
7817815dd1 added more complex queries via Lua script EVAL to redis
- http://redis.io/commands/eval
- http://www.lua.org/
2013-09-22 15:43:35 +02:00
0510027446 removed viaTable from redis AR 2013-09-18 17:50:42 +02:00
72889128fc fixed offset and limit in redis AR 2013-09-18 17:49:56 +02:00
563171eba4 moved redis out of yii\db namespace 2013-09-18 17:09:40 +02:00
0e261fba5a moved redis out of yii\db namespace 2013-09-18 16:03:06 +02:00