Alexander Mohorev
|
5860599ef7
|
PhpDoc comment
|
11 years ago |
Alexander Mohorev
|
18fbd7510a
|
Missing return statement
|
11 years ago |
Иван Багаев
|
64641cbd76
|
Add batchInsert method to yii\db\Migration
|
11 years ago |
Carsten Brandt
|
f153ce443a
|
reverted non working fix for #1115
|
11 years ago |
Carsten Brandt
|
7c630a6246
|
fixed problem with Postgres PDO and Boolean values
See the following resources for details:
yiisoft/yii#779
https://bugs.php.net/bug.php?id=33876
http://www.yiiframework.com/forum/index.php/topic/32334-boolean-type-with-postgresql/page__view__findpost__p__155647
|
11 years ago |
Qiang Xue
|
bd82170142
|
Fixes #1096: pgsql: sequence name not matched
|
11 years ago |
Carsten Brandt
|
3130aadb33
|
fixed conflicting property declaration
|
11 years ago |
Carsten Brandt
|
0146596647
|
add relationClassName to AR to allow different relation classes
... for different dbms
|
11 years ago |
Carsten Brandt
|
4653526262
|
moved common parts of db ActiveRelation and Query to traits
these parts can be reused in other ActiveRecord implementations
|
11 years ago |
Alexander Mohorev
|
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.
|
11 years ago |
Panagiotis Moustafellos
|
80e816efc3
|
pgsql: added 'bool' type (alias of 'boolean')
Relates #1086 and #1087
|
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 |
Alexander Makarov
|
e115b0c860
|
Updated docs, composer.json and other things to mention and use PHP 5.4
|
11 years ago |
resurtm
|
b3b5e36d42
|
Remove use ($this). Related to 9e1b498fb5 .
|
11 years ago |
resurtm
|
9e1b498fb5
|
PHP 5.4 supports $this with closures.
|
11 years ago |
chelishchev
|
8f8c705309
|
Just simple support PostgreSQL in QueryBuilder
|
11 years ago |
Carsten Brandt
|
28d9ee7c31
|
adjusted cubrid version in schema quote
|
11 years ago |
Carsten Brandt
|
598d01287b
|
added cubrid specific pdo type casting
cubrid pdo does not support PARAM_BOOL so we cast the value to integer
and store 0 and 1 instead
fixes #964
|
11 years ago |
Qiang Xue
|
8899aaeb5b
|
moved getPdoType() to Schema.
|
11 years ago |
Carsten Brandt
|
ee89134ffe
|
make db\Command::getPdoType() protected
fixes #964
|
11 years ago |
Alexander Makarov
|
817516adc5
|
Added missing return
|
11 years ago |
Alexander Makarov
|
6488fe47ec
|
Better phpdoc for chained method calls
|
11 years ago |
Qiang Xue
|
aede3c9f47
|
Removed duplicated indexBy declaration.
|
11 years ago |
Carsten Brandt
|
a94886fafd
|
elasticsearch AR WIP copied parts from redis implementation
|
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
|
43d392d8d2
|
porting the fix from https://github.com/yiisoft/yii/pull/2894
|
11 years ago |
Qiang Xue
|
c2a3aa3d99
|
Fixes #885: removed NULLs from filtering by models.
|
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
|
0e261fba5a
|
moved redis out of yii\db namespace
|
11 years ago |
Carsten Brandt
|
43d15155c6
|
cleanup db `use` statements
|
11 years ago |
Alexander Makarov
|
4a9efc9e75
|
Corrected schema used for MySQL
|
11 years ago |
Alexander Makarov
|
523a63f576
|
Added TYPE_BIGPK to Schema
|
11 years ago |
Qiang Xue
|
a2b4ef0f82
|
Fixes #876.
|
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 |
Carsten Brandt
|
6015312548
|
code style
|
11 years ago |
Carsten Brandt
|
0bf2daddd5
|
changed querybuilder typemap to lower case
|
11 years ago |
Carsten Brandt
|
3e5491e089
|
changed cubrid table and column name quoting
` is a MySQL thing supported by cubrid. " is more common.
|
11 years ago |
Qiang Xue
|
c6f4dac249
|
Refactored AR code.
|
11 years ago |
Qiang Xue
|
7303bae382
|
Fixed foreign key generation bug for pgsql.
|
11 years ago |
Qiang Xue
|
2e01c06a4b
|
Fixes #865.
|
11 years ago |
Qiang Xue
|
b6f07859c1
|
Added support for getting all tables for pgsql.
|
11 years ago |
Carsten Brandt
|
23b858a2cc
|
removed comments
|
11 years ago |
Carsten Brandt
|
164c70eebc
|
Add support for composite FK to cubrid
|
11 years ago |