code: func (db *SQLDB) GetLastBlockHeight() (uint64, error) {
  	query := db.DBAdapter.LastBlockIDQuery()
  	id := ""
  
  	db.Log.Info("msg", "MAX ID", "query", query)
  
  	if err := db.DB.QueryRow(query).Scan(&id); err != nil {
  		db.Log.Info("msg", "Error selecting last block id", "err", err)
  		return 0, err
  	}
  	height, err := strconv.ParseUint(id, 10, 64)
  	if err != nil {
  		return 0, fmt.Errorf("could not parse height from block ID: %v", err)
  	}
  	return height, nil
  }
docs: // GetLastBlockID returns last inserted blockId from log table