add missing parentheses in the bracket example on select-query-builder.md

This commit is contained in:
Hoseung Lee 2018-09-01 10:47:09 +00:00
parent b794d0c393
commit 87891c8dda

View File

@ -325,6 +325,7 @@ createQueryBuilder("user")
.andWhere(new Brackets(qb => {
qb.where("user.firstName = :firstName", { firstName: "Timber" })
.orWhere("user.lastName = :lastName", { lastName: "Saw" })
}))
```
Which will produce the following SQL query: