docs: public DBag newDBag()
      {
          if ((getCurrentDatabase() == null))
          {
              throw new DatabaseClosedException("Database is NULL, cannot create a DBag with a null database.");
          }
          return (DBag) DBagFactory.singleton.createCollectionOrMap(getCurrentPBKey());
      }