PkgDO

/**
* @brief DO class: A pkg.
*/

Primary key: oid: int

schema PkgDO {
  @primary oid: int,
  path: string,
  name: string,
  scope: int
}

PkgDO::getScope

/**
* @brief gets the scope of this element.
* @return int
*/
  • Parameter self: PkgDO
  • Return int
pub fn getScope(self: PkgDO) -> int;

PkgDO::getName

/**
* @brief gets the name of this element.
* @return string
*/
  • Parameter self: PkgDO
  • Return string
pub fn getName(self: PkgDO) -> string;

PkgDO::__all__

Data constraint method.

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

PkgDO::getPath

/**
* @brief gets the path of this element.
* @return string
*/
  • Parameter self: PkgDO
  • Return string
pub fn getPath(self: PkgDO) -> string;