docs: public BaseDatabase getDatabase()
      {
          BaseDatabase database = super.getDatabase();
          if (database == null)
              if (this.getNextTable() != null)
                  database = this.getNextTable().getDatabase();
          return database;
      }