SilverFire - Dmitry Naumenko
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
SilverFire - Dmitry Naumenko
e806a3b50a
Added `yii\db\ExpressionInterface` support to `yii\db\Command::batchInsert()`
...
Fixes #15661
7 years ago
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()`
7 years ago
SilverFire - Dmitry Naumenko
5bd6ed5684
Fixed issues in accidental merge of unfinished #15398
7 years ago
胡倍玮
a036fac490
Extract cache from `yii\db\Command` to `yii\db\CacheableQueryTrait` and use it in `yii\db\Query`
7 years ago
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
7 years ago
Alexander Makarov
c7e55450dd
Reverted #14593
...
(reverted from commit a42bbd8f01
)
7 years ago
Alexander Makarov
a42bbd8f01
Fixes #14593 : Added `yii\db\Command::EVENT_AFTER_EXECUTE` event that is triggered after command is executed
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
Гордиенко Владислав Юрьевич
8d50844024
#15426 : Added ability to create and drop database views
7 years ago
hiscaler
d32b80eec9
Fixes #15122 : Fixed `yii\db\Command::getRawSql()` to properly replace expressions
7 years ago
Sergey Makinen
a3a3d1dcef
Document callable params [skip ci]
7 years ago
Sergey Makinen
cc2e28bd0e
Add transaction/retry support for yii\db\Command
7 years ago
Alexander Makarov
2d672b6722
release version 2.0.13
7 years ago
Dmitry Naumenko
7e7faeebd1
Fixed excess escaping in Command::batchInsert() ( #13236 )
7 years ago
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".
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Alex
266bfc0419
fix phpDoc [skip ci] ( #14394 )
...
* fix phpDoc [skip ci]
* fix phpDoc [skip ci]
7 years ago
Sergey Makinen
164d3c83e9
Have I fixed these phpdocs? Let’s see…
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
Carsten Brandt
fddb34b91c
added param binding examples for update() and delete()
...
fixes #14218
7 years ago
Sergey Makinen
4104235258
Fix schema caching on commands
7 years ago
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
brandonkelly
e242e9b0ee
Fixes #14072 : clear table schema cache for all methods that affect cache
8 years ago
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
8 years ago
Skiptir Engu
6a7c01de72
Fixed broken link
8 years ago
voroks
25f08afc96
Fixes #8293 : `yii\db\Query` can be passed to `insert` method in `yii\db\QueryBuilder`
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Alexander Makarov
3d9945958d
Removed accidentally committed leftovers
8 years ago
Alexander Makarov
dd71fa3958
Fixes #4113 : Error page stacktrace was generating links to private methods which are not part of the API docs
8 years ago
SilverFire - Dmitry Naumenko
0fe27b9d3b
Refactored code in PR #9441
9 years ago
Evgeniy Tkachenko
af9462bd31
Update return phpDoc queryOne & queryScalar.
9 years ago
Carsten Brandt
e43c41c9ea
db layer phpdoc fixes
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
95f251edd1
Fixes #10084 : Improved DB docs
9 years ago
Matvey Vasenin
ce6e92b736
add comment control methods
9 years ago
Michael Härtl
b071587e0a
Improve docs for bindParam() $value
9 years ago
Carsten Brandt
a2568d1ec8
updated some comments and `@since` annotations
9 years ago
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
9 years ago
Paul Klimov
8e4518c81f
Doc comments updated
9 years ago
Paul Klimov
0bfa2e2673
Reset of `refreshTableName` on `yii\db\Command` reuse ensured
9 years ago
Klimov Paul
72f9e63e10
Table schema auto refreshing on DDL added to `yii\db\Command`
9 years ago
Klimov Paul
0d48f1041e
Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':')
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
laszlovl
8c22270591
db Command performance tweak
10 years ago
Carsten Brandt
21f51400ef
added information about quoting to batch insert
10 years ago