Skip to content

Commit 6cb12d7

Browse files
4.7.1
1 parent 5a15bf4 commit 6cb12d7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,9 +1862,10 @@ In a nutshell:
18621862
> Every minor version means that it adds a new functionality i.e. 1.5 -> 1.6 (new methods)
18631863
>
18641864
> Every decimal version means that it patches/fixes/refactoring a previous functionality i.e. 1.5.0 -> 1.5.1 (fix)
1865-
1865+
* 4.7.1 2024-06-07
1866+
* fixed a phpdoc in PdoOneQuery::where()
18661867
* 4.7 2024-06-07
1867-
* Update phpdoc using markdown without "php" because PHPStorm is not compatible with it.
1868+
* Update phpdoc using markdown without "php" because PHPStorm is not compatible with it.]()
18681869
* 4.6.2 2024-03-02
18691870
* [fix]PdoOne::$cacheService is now mixed.
18701871
* 4.6.1 2024-03-02

lib/PdoOneQuery.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,8 @@ public function having($sql, $param = PdoOne::NULL): PdoOneQuery
446446
* **Example:**
447447
* ```
448448
* $this->where( ['field'=>20] ) // associative array with automatic type
449-
* $this->where( ['/_field/subfield',20] ) // (for ORM) recursive query
449+
* $this->where( ['`/_field`.subfield',20] ) // (for ORM) recursive query
450+
* // ``=mysql []=sql server,""=others
450451
* //, where _field is a relational column (alias).
451452
* $this->where('field=20') // literal value
452453
* $this->where('field=?',[20]) // positional argument.

0 commit comments

Comments
 (0)