Skip to content

Commit 8b83dd7

Browse files
committed
Added brief example to the readme
Added a brief example in the readme file underneath the shortcut methods. Will add a detailed example in the wiki once approved.
1 parent f990c88 commit 8b83dd7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ notBetween('column', $value, $value2)
147147
// $value will protected by either using escape or prepare statement
148148
```
149149

150+
```php
151+
// To allow simple grouping of basic $whereConditions,
152+
// wrap the following around a group of the above comparison
153+
// expressions within the where( ...$whereConditions) clause
154+
grouping( eq(key, value, combiner ), eq(key, value, combiner ) )
155+
// The above will wrap beginning and end grouping in a where statement
156+
// where required to break down your where clause.
157+
```
158+
150159
```php
151160
// Supply the the whole query string, and placing '?' within
152161
// With the same number of arguments in an array.

0 commit comments

Comments
 (0)