I have this search function setup in NestJS using TypeORM:
public async getAllRecipesBySearchTerm(
searchTerm: string,
): Promise<Recipe[]> {
return await this.repository.find({
where: { title: ILike('%' + searchTerm + '%') },
});
}
Now when a recipe title contains letters like é or ü they will not be returned. I see that PostgreSQL does support this kind of querying, but does TypeORM support it?