docs: fix imports in Or find operator example (#10689)

This commit is contained in:
Mykyta 2025-01-05 23:12:27 +02:00 committed by GitHub
parent f4e97d754d
commit c293bd278d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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%")),