7c26670f4d
Fixed several typos and grammar errors ( #19639 )
2022-10-22 15:35:53 +02:00
60dec4008b
Wrong operator format ( #19548 )
...
Based on the docs and mainly my experience with Yii, I believe the "and" operator format here is wrong. The condition parts which the "and" separates have to be each in an array, otherwise the where() doesn't know where the condition starts and where ends.
2022-09-12 13:59:33 +02:00
9bcc8c8e83
update links (en) ( #19222 )
...
Co-authored-by: Bizley <pawel@positive.codes>
2022-02-12 17:43:48 +01:00
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
239434f395
Update db-query-builder.md ( #18934 )
...
* Update db-query-builder.md
Fixing 404 page on guide
* Update db-query-builder.md
removing html
Co-authored-by: Bizley <pawel@positive.codes>
2021-10-06 07:48:14 +02:00
6dad27d4a1
Reversed #18499 ( #18546 )
2021-03-04 12:53:11 +03:00
d1037db68d
Fix #18499 : When using yii\db\Query::all()
and yii\db\Query::$indexBy
, the yii\db\Query::$indexBy
is auto inserted into yii\db\Query::$select
- the same as in yii\db\Query::column()
...
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-02-23 18:44:39 +03:00
1d514e2ded
Revert "Fix anchors in docs ( #18344 )"
...
This reverts commit 0f4b147352f2524f2a1530d419d13a8c8acd5069.
2020-11-05 14:14:35 +03:00
0f4b147352
Fix anchors in docs ( #18344 )
2020-11-01 17:51:16 +03:00
8885ec55e4
Allowlist instead of white list [ci skip] ( #18240 )
2020-08-18 16:16:37 +03:00
a66fac3bb1
Fix #17758 : Query::withQuery()
can be used for CTE
2020-04-13 11:58:18 +03:00
25672a94d1
Fix syntax error in Query builder docs ( #17281 ) [skip ci]
2019-04-20 21:18:03 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
f44266c946
Updated db-query-builder.md adding example for 'in' with composite columns ( #17026 ) [skip ci]
2019-01-08 15:30:12 -05:00
9ed7eaa998
Fix typos in example in "Adding custom Conditions and Expressions" ( #16742 ) [skip ci]
2018-09-25 17:54:26 +03:00
951bfed562
Fixed typo in db-query-builder.md ( #16201 ) [skip ci]
2018-05-01 16:08:59 +03:00
c3c982068d
guide/db revised [ci skip] ( #16159 )
...
* guide/db-dao.md revised for 2.1 [ci skip]
* guide/db-query-builder.md source line length fix [ci skip]
* guide/db-active-record.md small fix [ci skip]
2018-04-25 09:49:23 +02:00
055b73fece
Tweaking a few grammatical bugs ( #15932 ) [skip ci]
2018-03-20 21:30:35 +03:00
f8560b7a85
Added russian docs
2018-03-20 13:19:45 +02:00
caab05b0a0
Fixed grammar
2018-03-20 12:47:50 +02:00
5f75916cde
Wording adjustments and doc enhancements [skip ci]
2018-03-20 11:20:56 +01:00
b37f361ad7
Fixed possible SQL injection through ActiveRecord::findOne()
2018-03-20 11:20:56 +01:00
0e8d02f36c
Update db-query-builder.md
2018-02-25 13:44:38 +08:00
85a7739c54
Fixed link in guide [skip ci]
2018-02-22 16:16:20 +02:00
62d4604269
Added BetweenConditionBuilder
...
Replaces #12678 , Fixes #11611
2018-02-11 18:55:07 +02:00
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
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
b5e0903435
Added not
to operator format in docs [skip ci]
2017-10-19 18:27:37 +03:00
7d209b4143
Adjusted text,add some adivse [skip ci]
2017-05-31 11:20:18 +08:00
ed0c755f7c
Adjusted text [skip ci]
2017-05-30 17:49:18 +03:00
57a448d0f8
Adjusted text [skip ci]
2017-05-28 15:53:45 +03:00
f7e3d980ea
Adjusted text [skip ci]
2017-05-28 15:52:31 +03:00
f98e260493
Adjusted text [skip ci]
2017-05-28 15:51:31 +03:00
974a1eeb48
Adjusted text [skip ci]
2017-05-28 15:48:27 +03:00
c1e6e6da62
Adjusted typo text [skip ci]
2017-05-26 17:33:07 +08:00
2711eb5722
MySql -> MySQL typo
2017-05-26 17:20:56 +08:00
d0a5372170
Adjusted text [skip ci]
2017-05-26 12:17:33 +03:00
6a9a255d06
typo
2017-05-26 17:13:52 +08:00
d82b4fa03b
add doc for issue #8420
...
#8420
2017-05-26 16:58:19 +08:00
837b33767c
Fixes #11697 : Added filterHaving()
, andFilterHaving()
and orFilterHaving()
to yii\db\Query
...
Signed-off-by: Alexander Makarov <sam@rmcreative.ru>
2016-12-14 23:58:04 +03:00
eb6ea11931
Fix docs about table prefixes ( #13127 )
...
* fixes #8354 to improve docs on table prefixes
* accents
* patched silverfires comments
* Update db-active-record.md
improved wording and added link about quoting.
* fix link to DAO guide
2016-12-05 13:57:07 +01:00
685f16e8ef
📖 Updated guide pages - wrap true, false, null
2016-09-20 10:49:15 +03:00
116223f23c
Wrap WHERE by the code (...
)
2016-08-25 03:37:29 +03:00
db505203eb
Fix typo [skip ci] ( #12239 )
2016-08-21 13:04:08 +03:00
69af09f2a4
added a note about the scope of indexBy()
...
close #11446
2016-05-01 15:06:57 +02:00
9e7d5041cc
Fixes #2022 : Added info about yii\db\Query::andFilterCompare()
to guide
2016-05-01 00:51:19 +03:00
b9087460bb
Fixed wrong SQL in the querybuilder docs
2016-01-28 21:12:29 +01:00
b9d8344d84
updated db guide
...
string format in where() is not only for simple cases but also for the complex ones that need raw SQL.
2016-01-14 19:30:09 +01:00
153f45bfdb
added notes about parameter binding to the guide and classes
...
fixes #10462
2015-12-26 02:41:15 +01:00
a204b491ae
some guide fixes that prevent compiling
2015-12-13 05:25:09 +01:00