Replies: 2 comments 2 replies
-
Good question, I'd say it's a bug. As long as you're not doing anything unusual in the |
Beta Was this translation helpful? Give feedback.
-
This seems to be the closes to the issue I'm having I think? I'm trying to use withObservables([...], ({database, ...}) => ({
teams: database
.get('team')
.query(
Q.on(...),
Q.sortBy('name', Q.asc),
Q.unsafeSqlExpr('LOWER(team.name)'),
) I also tried Using a a fully Q.unsafeSqlQuery works but preferably I would prefer to use watermelondb's inbuilt querying |
Beta Was this translation helpful? Give feedback.
-
I noticed I'm getting an
Illegal clause sql
from theencodeMatcher
when the observable is triggered, I can see that theunsafeSqlQuery
can be observed from the docs, but nothing is mentioned regardingunsafeSqlExpr
Beta Was this translation helpful? Give feedback.
All reactions