Browse Source

Improving formatting

Jose Lorenzo Rodriguez 11 years ago
parent
commit
b42216b72f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Database/README.md

+ 3 - 1
src/Database/README.md

@@ -325,7 +325,9 @@ A number of commonly used functions can be created with the func() method:
 * `dateDiff()` Get the difference between two dates/times. The arguments are treated as bound parameters unless marked as literal.
 * `now()` Take either ‘time’ or ‘date’ as an argument allowing you to get either the current time, or current date.
 
-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:
+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:
 
 ```php
 $concat = $query->func()->concat([