Update 08_SQL_Select.md

This commit is contained in:
Manuel Thalmann 2021-05-14 11:14:35 +02:00 committed by GitHub
parent 2b0a7e21c7
commit ff9fc28468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ function which would build the INSERT and UPDATE queries on the fly. This method
still exists, but internally uses `SQLUpdate` / `SQLInsert`, although the actual
query construction is now done by the `DBQueryBuilder` object.
Each of these classes implements the interface `SQLWriteExpression`, noting that each
Each of these classes implement the interface `SQLWriteExpression`, noting that each
accepts write key/value pairs in a number of similar ways. These include the following
API methods:
@ -150,7 +150,7 @@ API methods:
in the format `['Column' => ['SQL' => ['parameters]]]`
* `assign` - Singular form of addAssignments, but only assigns a single column value
* `assignSQL` - Assigns a column the value of a specified SQL expression without parameters
`assignSQL('Column', 'SQL)` is shorthand for `assign('Column', ['SQL' => []])`
`assignSQL('Column', 'SQL')` is shorthand for `assign('Column', ['SQL' => []])`
SQLUpdate also includes the following API methods: