Pkg

Inherit from PkgDO

Primary key: oid: int

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

Pkg::getPath

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

Pkg::getName

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

Pkg::__all__

Data constraint method.

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

Pkg::getScope

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