docs: @View(name = "by_principal_date",
          map = "function(doc) { if (doc.recordKey && doc.principal && doc.deviceFingerprint && doc.recordDate) { emit([doc.principal, doc.recordDate], doc) } }")
      public List<CouchDbMultifactorAuthenticationTrustRecord> findByPrincipalAfterDate(final String principal, final LocalDateTime onOrAfterDate) {
          val view = createQuery("by_principal_date")
              .startKey(ComplexKey.of(principal, onOrAfterDate)).endKey(ComplexKey.of(principal, "999999"));
  
          return db.queryView(view, CouchDbMultifactorAuthenticationTrustRecord.class);
      }