KeyTypeDO

/**
* @brief DO class: A key type.
*/

Primary key: oid: int

schema KeyTypeDO {
  @primary oid: int,
  map: int,
  tp: int
}

KeyTypeDO::getTp

/**
* @brief gets the tp of this element.
* @return int
*/
pub fn getTp(self: KeyTypeDO) -> int;

KeyTypeDO::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *KeyTypeDO;

KeyTypeDO::getMap

/**
* @brief gets the map of this element.
* @return int
*/
pub fn getMap(self: KeyTypeDO) -> int;