TypeError: repository.search.where is not a function
See original GitHub issuealbums = await repository.search.where('artist').eq('Mushroomhead').return.all()
invokes error: TypeError: repository.search.where is not a function
adding //@ts-ignore
doesn’t help
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Repository method is not a function (NestJS / TypeORM ...
I came across this problem as well. Make sure you're importing the repository into the module. Here's what your module should look probably ......
Read more >TypeError: typeorm_2.Like is not a function · Issue #807 - GitHub
I have no repo - I just tried to use the TypeORM Like function. nothing ... I'm just trying to use Like inside...
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >TypeError: this.userRepository.createUser is not a function
Every time I call this function from auth.service this error shows up: TypeError: this.userRepository.createUser is not a function.
Read more >IsConnected not a function in next.js app - MongoDB
We just pushed a huge update to the next.js repo that changes how a couple of things work, so the issue is def...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh yes, that did it. Thank you so much.
You can’t do
.eq
against searchable text fields. You can only do full-text search using.matches
.https://github.com/redis/redis-om-node#full-text-search