morphia 正则查询(Pattern忽略大小写查询) llad 2022-09-23 71 阅读1分钟 1.方式一: db.exists("account", Pattern.compile(example.getAccount(),Pattern.CASE_INSENSITIVE))