0

I want to implement regular expression in ObjectBox database. Something like -

Query<User> query = userBox.query().like(User_.firstName, "J*e?").build();
List<User> users = query.find();
query.close();
mihirjoshi
  • 12,161
  • 7
  • 47
  • 78
  • Does this answer your question? [Does ObjectBox have a SQL Like keyword equivalent](https://stackoverflow.com/questions/51846019/does-objectbox-have-a-sql-like-keyword-equivalent) – Ricky Mo Jan 14 '22 at 03:05
  • @RickyMo No, actually. The regex `J*e?` would search for `Joe`, `Je` and `Joel` – mihirjoshi Jan 14 '22 at 03:24

0 Answers0