code: func (m *Meta) GetDatabase(dbID int64) (*model.DBInfo, error) {
  	dbKey := m.dbKey(dbID)
  	value, err := m.txn.HGet(mDBs, dbKey)
  	if err != nil || value == nil {
  		return nil, errors.Trace(err)
  	}
  
  	dbInfo := &model.DBInfo{}
  	err = json.Unmarshal(value, dbInfo)
  	return dbInfo, errors.Trace(err)
  }
docs: // GetDatabase gets the database value with ID.