drlibra
32c7c4161b
Fixes #16192 : yii\db\Command::logQuery() is now protected, extracted getCacheKey() from queryInternal()
2018-07-28 00:39:16 +08:00
CedricYii
3555633223
Fixes #14289 : Added yii\db\Command::executeResetSequence() to work with Oracle
2018-06-27 22:29:50 +03:00
drlibra
6590feef0d
Fixes #16192 : yii\db\Command::logQuery() is now protected
2018-06-03 16:30:53 +03:00
SilverFire - Dmitry Naumenko
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
2018-03-03 17:50:18 +02:00
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
SilverFire - Dmitry Naumenko
e806a3b50a
Added yii\db\ExpressionInterface support to yii\db\Command::batchInsert()
...
Fixes #15661
2018-02-18 20:23:08 +02:00
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
SilverFire - Dmitry Naumenko
5bd6ed5684
Fixed issues in accidental merge of unfinished #15398
2018-02-10 14:10:14 +02:00
胡倍玮
a036fac490
Extract cache from yii\db\Command to yii\db\CacheableQueryTrait and use it in yii\db\Query
2018-02-10 12:30:58 +02:00
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder and yii\db\Command
2018-02-09 01:05:50 +03:00
Alexander Makarov
c7e55450dd
Reverted #14593
...
(reverted from commit a42bbd8f01 )
2018-02-05 14:12:20 +03:00
Alexander Makarov
a42bbd8f01
Fixes #14593 : Added yii\db\Command::EVENT_AFTER_EXECUTE event that is triggered after command is executed
2018-02-05 15:49:18 +07:00
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
2018-02-05 04:59:14 +07:00
Гордиенко Владислав Юрьевич
8d50844024
#15426 : Added ability to create and drop database views
2018-01-19 11:21:07 +03:00
hiscaler
d32b80eec9
Fixes #15122 : Fixed yii\db\Command::getRawSql() to properly replace expressions
2018-01-18 01:34:07 +03:00
Sergey Makinen
a3a3d1dcef
Document callable params [skip ci]
2017-12-26 14:03:15 +03:00
Sergey Makinen
cc2e28bd0e
Add transaction/retry support for yii\db\Command
2017-12-26 13:10:36 +03:00
Alexander Makarov
2d672b6722
release version 2.0.13
2017-11-03 01:09:29 +03:00
Dmitry Naumenko
7e7faeebd1
Fixed excess escaping in Command::batchInsert() ( #13236 )
2017-10-23 22:43:39 +03:00
Robert Korulczyk
5a8c3d537b
Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
Robert Korulczyk
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
Carsten Brandt
e0dde88b87
Merge PR #14015 branch 'db-constraints' from sergeymakinen/yii2
...
Implement retrieving DBMS constraints
* db-constraints2: (21 commits)
CHANGELOG for #14105
added missing abstract methods to ConstraintFinderTrait
avoid dependency of SqlTokenizer on sqlite implementation
Mention an usage magic in descriptions
Fix an unknown variable usage bug
updated phpdoc
make schema cache version a constant
Have I fixed these phpdocs? Let’s see…
Fixed phpdoc [skip ci]
Mark not supported constraint retrieving methods
Add PHPDoc
Fix typo [skip ci]
Rename DefaultConstraint to DefaultValueConstraint
Fix imports
Fix merging issues & CS
Add Command tests
Fix constraint tests
Disable column comment test on old CUBRID
Fix dropping unique/indexes
Fix schema caching on commands
...
2017-07-07 22:57:58 +02:00
Alex
266bfc0419
fix phpDoc [skip ci] ( #14394 )
...
* fix phpDoc [skip ci]
* fix phpDoc [skip ci]
2017-07-06 00:39:36 +02:00
Sergey Makinen
164d3c83e9
Have I fixed these phpdocs? Let’s see…
2017-07-03 15:10:48 +03:00
Sergey Makinen
f820d2ca36
Merge branch 'master' into db-constraints
2017-06-16 16:52:43 +03:00
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.
2017-06-12 12:25:45 +03:00
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added yii\caching\CacheInterface to make custom cache extensions adoption easier
2017-06-11 19:18:33 +03:00
Carsten Brandt
fddb34b91c
added param binding examples for update() and delete()
...
fixes #14218
2017-06-07 23:19:47 +02:00
Sergey Makinen
4104235258
Fix schema caching on commands
2017-05-15 20:55:25 +03:00
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
2017-05-08 00:04:37 +02:00
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
2017-05-08 00:04:13 +02:00
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
2017-04-27 10:34:08 -07:00
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
2017-04-11 00:43:38 +03:00
Skiptir Engu
6a7c01de72
Fixed broken link
2017-03-13 16:12:32 -03:00
voroks
25f08afc96
Fixes #8293 : yii\db\Query can be passed to insert method in yii\db\QueryBuilder
2017-01-28 23:47:26 +03:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Alexander Makarov
3d9945958d
Removed accidentally committed leftovers
2016-11-02 14:13:49 +03:00
Alexander Makarov
dd71fa3958
Fixes #4113 : Error page stacktrace was generating links to private methods which are not part of the API docs
2016-11-02 13:42:11 +03:00
SilverFire - Dmitry Naumenko
0fe27b9d3b
Refactored code in PR #9441
2016-04-19 17:48:25 +03:00
SilverFire - Dmitry Naumenko
c9dfc90be0
Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder
2016-04-19 12:21:33 +03:00
Evgeniy Tkachenko
af9462bd31
Update return phpDoc queryOne & queryScalar.
2016-02-11 16:34:40 +03:00
Carsten Brandt
e43c41c9ea
db layer phpdoc fixes
2016-02-07 16:33:26 +01:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Alexander Makarov
95f251edd1
Fixes #10084 : Improved DB docs
2015-11-04 12:08:18 +03:00
Matvey Vasenin
ce6e92b736
add comment control methods
2015-08-14 12:27:21 +03:00
Michael Härtl
b071587e0a
Improve docs for bindParam() $value
2015-08-04 16:08:38 +02:00
Carsten Brandt
a2568d1ec8
updated some comments and @since annotations
2015-08-02 19:56:49 +02:00
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
2015-08-01 00:30:16 +03:00
Paul Klimov
8e4518c81f
Doc comments updated
2015-06-06 13:05:43 +03:00