agentgt / jirm

A Java Immutable object Relational Mapper focused on simplicity, convenience, and thread safety.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support .notEq

agentgt opened this issue · comments

The only way to do not equal (ie <> or !=) is:

.property("pageType").eq(PageType.PUBLIC.name()).not()

Which I find to be not very elegant or SQL like as the .not() is postfix.

.property("pageType").notEq(PageType.PUBLIC.name())

Would be better.