Skip to content

Commit b42216b

Browse files
committed
Improving formatting
1 parent 5611b3b commit b42216b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Database/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ A number of commonly used functions can be created with the func() method:
325325
* `dateDiff()` Get the difference between two dates/times. The arguments are treated as bound parameters unless marked as literal.
326326
* `now()` Take either ‘time’ or ‘date’ as an argument allowing you to get either the current time, or current date.
327327

328-
When providing arguments for SQL functions, there are two kinds of parameters you can use, literal arguments and bound parameters. Literal parameters allow you to reference columns or other SQL literals. Bound parameters can be used to safely add user data to SQL functions. For example:
328+
When providing arguments for SQL functions, there are two kinds of parameters you can use, literal arguments and bound parameters. Literal
329+
parameters allow you to reference columns or other SQL literals. Bound parameters can be used to safely add user data to SQL functions.
330+
For example:
329331

330332
```php
331333
$concat = $query->func()->concat([

0 commit comments

Comments
 (0)