docs: @View(name = "by_recordKey", map = "function(doc) { if (doc.principal && doc.deviceFingerprint && doc.recordDate) { emit(doc.recordKey, doc) } }")
      public CouchDbMultifactorAuthenticationTrustRecord findByRecordKey(final String recordKey) {
          return db.queryView(createQuery("by_recordKey").key(recordKey).limit(1), CouchDbMultifactorAuthenticationTrustRecord.class)
              .stream().findFirst().orElse(null);
      }