code: static SQLiteConnection open(com.couchbase.lite.internal.database.sqlite.SQLiteConnectionPool pool,
                                   com.couchbase.lite.internal.database.sqlite.SQLiteDatabaseConfiguration configuration,
                                   com.couchbase.lite.internal.database.sqlite.SQLiteConnectionListener connectionListener,
                                   int connectionId, boolean primaryConnection) {
          SQLiteConnection connection = new SQLiteConnection(pool, configuration, connectionListener,
                  connectionId, primaryConnection);
          try {
              connection.open();
              return connection;
          } catch (com.couchbase.lite.internal.database.sqlite.exception.SQLiteException ex) {
              connection.dispose(false);
              throw ex;
          }
      }
docs: Called by SQLiteConnectionPool only.