Skip to content

Commit

Permalink
docs: fix code indentation (typeorm#8864)
Browse files Browse the repository at this point in the history
bad indentation break syntax highlighting.
  • Loading branch information
MarouaneMan authored Apr 11, 2022
1 parent 273f89e commit a145f00
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/select-query-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ There are 5 different `QueryBuilder` types available:
- `RelationQueryBuilder` - used to build and execute relation-specific operations [TBD].
Example:

```typescript
await dataSource
.createQueryBuilder()
.relation(User,"photos")
.of(id)
.loadMany();
```
```typescript
await dataSource
.createQueryBuilder()
.relation(User,"photos")
.of(id)
.loadMany();
```

You can switch between different types of query builder within any of them,
once you do, you will get a new instance of query builder (unlike all other methods).
Expand Down

0 comments on commit a145f00

Please sign in to comment.