Robert Korulczyk
2fa4ccc1da
Fix phpdoc for $_master and $_slave properties in yii\db\Connection ( #14447 )
7 years ago
nikosid
fe607b83d2
Fixes #14434 : fixed metadata cache regression
7 years ago
qihuajun
f5e8a89319
Fix slave usage disabled after Connection::close, set _slave to false instead of nulll
...
fixes #14165
close #14168
7 years ago
Carsten Brandt
c9347b0a57
Fixed ambiguous column error on indexBy with JOIN
...
fixes #13859
close #14431
7 years ago
Carsten Brandt
173108b5b0
Move getTablesUsedInFrom() from ActiveQuery to Query
...
enable this feature on the Query level
close #14431
7 years ago
Carsten Brandt
0559a95db9
Fixed ambiguous column error in `BaseActiveRecord::refresh()`
...
when the query adds a JOIN by default
fixes #13757
7 years ago
Robert Korulczyk
12eb936083
Enable `heredoc_to_nowdoc` rule in php-cs-fixer ( #14419 )
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Carsten Brandt
a7d2aaffd5
mention usage of deleteAll() in AR unlinkAll
...
issue #14410
7 years ago
Carsten Brandt
53f380ca46
improved docs of Query::from()
...
fixes #14407
7 years ago
Alex
266bfc0419
fix phpDoc [skip ci] ( #14394 )
...
* fix phpDoc [skip ci]
* fix phpDoc [skip ci]
7 years ago
Carsten Brandt
ef457c340d
added missing abstract methods to ConstraintFinderTrait
7 years ago
Carsten Brandt
888f9f87b6
avoid dependency of SqlTokenizer on sqlite implementation
7 years ago
Sergey Makinen
ecf8984096
Mention an usage magic in descriptions
7 years ago
Sergey Makinen
f0c66c5a1d
Fix an unknown variable usage bug
7 years ago
Carsten Brandt
95950d1a23
updated phpdoc
7 years ago
Carsten Brandt
3e330f8b87
make schema cache version a constant
7 years ago
Sergey Makinen
164d3c83e9
Have I fixed these phpdocs? Let’s see…
7 years ago
Alex
6aa0ed2026
Adjusted PHP 7 return types [skip ci]
7 years ago
Alexander Makarov
c91083fbe4
Fixed phpdoc [skip ci]
7 years ago
Sergey Makinen
452974cab3
Mark not supported constraint retrieving methods
7 years ago
Sergey Makinen
e0df642261
Add PHPDoc
7 years ago
Pavel Chaplygin
e38310546e
Fixes #14334 : Fixed `\yii\db\QueryBuilder::buildNotCondition` loses params when operand is `\yii\db\Expression`
7 years ago
Sergey Makinen
91521d53c1
Fix typo [skip ci]
7 years ago
Sergey Makinen
3de6f8e397
Rename DefaultConstraint to DefaultValueConstraint
7 years ago
Sergey Makinen
71a23cff50
Fix imports
7 years ago
Sergey Makinen
c8856ccd4e
Fix merging issues & CS
7 years ago
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
7 years ago
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
Tigrov
2b7e8be1e8
Fixes #14192 : Fixed wrong default null value for TIMESTAMP when using PostgreSQL
7 years ago
Thiago Talma
1d062100b6
Fixes #13787 : Added `yii\db\Migration::$maxSqlOutputLength` that allows limiting number of characters for outputting SQL
7 years ago
Carsten Brandt
fddb34b91c
added param binding examples for update() and delete()
...
fixes #14218
7 years ago
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
leandrogehlen
17a1d91e4a
Allows override query relation in descendant class
...
fixes #13441
close #13642
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
viwek
49ab20139c
Inserted missing * on line 972 ( #14224 ) [skip ci]
7 years ago
Alex-Code
7c6620a65f
Fixes #13846 : Fixed `Query::count()` issue with `orderBy`
7 years ago
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
7 years ago
Sergey Makinen
118fc08af8
Fix dropping unique/indexes
7 years ago
Sergey Makinen
4104235258
Fix schema caching on commands
7 years ago
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
7 years ago
Alexander Makarov
625d554e3a
Additional edge case for #14150
7 years ago
Alexander Makarov
8a087c8537
#14150 : Added {{ and }} to getTablesUsedInFrom() output
7 years ago
Alexander Makarov
b151b1cdb2
Fixes #14150
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Alexander Makarov
23cc4bf4fe
Further changes for unique and exist validators
...
- Combined methods for getting names and aliases of from tables
- Normalized names and aliases
- Added MSSQL syntax
- Added support for spaces in aliases and table names
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
8 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
8 years ago
Alexander Makarov
8c30bab105
Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci]
8 years ago