mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: fix imports in Or find operator example (#10689)
This commit is contained in:
parent
f4e97d754d
commit
c293bd278d
@ -628,7 +628,7 @@ SELECT * FROM "post" WHERE NOT("likes" > 10) AND NOT("title" = 'About #2')
|
||||
- `Or`
|
||||
|
||||
```ts
|
||||
import { Not, MoreThan, ILike } from "typeorm"
|
||||
import { Or, Equal, ILike } from "typeorm"
|
||||
|
||||
const loadedPosts = await dataSource.getRepository(Post).findBy({
|
||||
title: Or(Equal("About #2"), ILike("About%")),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user