mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
add missing parentheses in the bracket example on select-query-builder.md
This commit is contained in:
parent
b794d0c393
commit
87891c8dda
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user