-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cool-search模糊搜索问题 #156
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我使用cool-search正确设置了fieldEq: ['title'],keyWordLikeFields: ['title'],模糊搜索的时候,title只能做到完全匹配(如:title内容为abc,搜索框要输入abc才能搜索到结果,输入a则查找不到结果),而同样的配置cool-search-key是可以正常模糊搜索的,请问不重写curd能实现模糊搜索吗?
我也有尝试过重写curd,并在@entity('link', {database:'test'})指定了数据库,可是执行的时候,提示test.link表不存在(默认数据库是cool),请问我应该在哪里再次指定数据库呢?(我把link表拷贝到cool数据库就正常了)
The text was updated successfully, but these errors were encountered: