You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello everyone, my name is raihan, i'm a beginner in using realm kotlin. I currently developed an android app, so i make sign up and login form. i have a problem with login form.
here's my code:
fun checkUser(email: String, password: String) : Boolean {
val user = Database.realm.query("email", email, "password", password).first().find()
return user!= null
}
when i run the app, the logcat give this error message:
java.lang.IllegalArgumentException: [RLM_ERR_INVALID_QUERY_STRING]: Invalid predicate: 'email': syntax error, unexpected end of file
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello everyone, my name is raihan, i'm a beginner in using realm kotlin. I currently developed an android app, so i make sign up and login form. i have a problem with login form.
here's my code:
fun checkUser(email: String, password: String) : Boolean {
val user = Database.realm.query("email", email, "password", password).first().find()
return user!= null
}
when i run the app, the logcat give this error message:
java.lang.IllegalArgumentException: [RLM_ERR_INVALID_QUERY_STRING]: Invalid predicate: 'email': syntax error, unexpected end of file
please help me guys, thank you very much
Beta Was this translation helpful? Give feedback.
All reactions