diff --git a/couchdb/src/main/java/me/retrodaredevil/couchdbjava/CouchDbDatabase.java b/couchdb/src/main/java/me/retrodaredevil/couchdbjava/CouchDbDatabase.java index ce42322..74c2186 100644 --- a/couchdb/src/main/java/me/retrodaredevil/couchdbjava/CouchDbDatabase.java +++ b/couchdb/src/main/java/me/retrodaredevil/couchdbjava/CouchDbDatabase.java @@ -29,6 +29,9 @@ public interface CouchDbDatabase extends CouchDbShared { default boolean createIfNotExists() throws CouchDbException { return createIfNotExists(DatabaseCreationOption.createDefault()); } void deleteDatabase() throws CouchDbException; + /** + * Note: As of 2023.04.21 this does not work on PouchDB + */ DatabaseInfo getDatabaseInfo() throws CouchDbException; /** diff --git a/couchdb/src/test/java/me/retrodaredevil/couchdbjava/integration/test/RevsLimitTest.java b/couchdb/src/test/java/me/retrodaredevil/couchdbjava/integration/test/RevsLimitTest.java index dd6b50d..4275175 100644 --- a/couchdb/src/test/java/me/retrodaredevil/couchdbjava/integration/test/RevsLimitTest.java +++ b/couchdb/src/test/java/me/retrodaredevil/couchdbjava/integration/test/RevsLimitTest.java @@ -37,6 +37,5 @@ void test(DatabaseService databaseService) throws CouchDbException { database.create(DatabaseCreationOption.builder().build()); assertThrows(CouchDbNotFoundException.class, () -> database.getRevsLimit()); } - database.getDatabaseInfo(); } }