Skip to content
Snippets Groups Projects
Commit c3045fd0 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6867 Simplify query

parent a853c88a
Branches
Tags
No related merge requests found
...@@ -25,6 +25,6 @@ interface OrganisationsEinheitRepository extends MongoRepository<OrganisationsEi ...@@ -25,6 +25,6 @@ interface OrganisationsEinheitRepository extends MongoRepository<OrganisationsEi
@Update("{'$set': {'syncResult': 'DELETED'}}") @Update("{'$set': {'syncResult': 'DELETED'}}")
void setUnsyncedAsDeleted(long lastSyncTimestamp); void setUnsyncedAsDeleted(long lastSyncTimestamp);
@Query("{'syncResult': { $eq: null }}") @Query("{'syncResult': null }")
Stream<OrganisationsEinheit> findAllWithoutSyncResult(); Stream<OrganisationsEinheit> findAllWithoutSyncResult();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment