mirror of
https://codeberg.org/vlw/php-mysql.git
synced 2025-09-14 00:33:41 +02:00
Compare commits
No commits in common. "e062930c41192bb209daec7d307d719140667c98" and "03868ae784b1308de2fbeb854345a415117875f5" have entirely different histories.
e062930c41
...
03868ae784
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ which would be equivalent to the following in MySQL:
|
|||
SELECT `columns` FROM `table` WHERE `filter` ORDER BY `order_by` LIMIT `limit`;
|
||||
```
|
||||
|
||||
- All methods can be chained in any order (even multiple times) after a [`from()`](#from) as long as a [`select()`](#select), [`insert()`](#insert), [`update()`](#update), or [`delete()`](#delete) is the last method.
|
||||
- All methods can be chained in any order (even multiple times) after a [`for()`](#for) as long as a [`select()`](#select), [`insert()`](#insert), [`update()`](#update), or [`delete()`](#delete) is the last method.
|
||||
- Chaining the same method more than once will override its previous value. Passing `null` to any method that accepts it will unset its value completely.
|
||||
|
||||
## Install from composer
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
since: "3.5.7",
|
||||
)]
|
||||
public function for(string $table): self {
|
||||
return $this->from($table);
|
||||
$this->from($table);
|
||||
}
|
||||
|
||||
// Create a WHERE statement from filters
|
||||
|
|
Loading…
Add table
Reference in a new issue