docs: String getQuery(String key)
      {
          String res = this.adapter.getSqlText(key);
          if (res == null)
          {
              throw new DatabaseException("Query " + key + " does not exist");
          }
          return res;
      }