Query expression template refactoring (extracted from newdate branch).
Query expression template refactoring (extracted from newdate branch).

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core