CommentDO

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

Primary key: element_oid: int

schema CommentDO {
  @primary element_oid: int,
  text: string,
  parent_oid: int,
  location_oid: int
}

CommentDO::getParentOid

/**
* @brief gets the parent oid of this element.
* @return int
*/
pub fn getParentOid(self: CommentDO) -> int;

CommentDO::getLocationOid

/**
* @brief gets the location oid of this element.
* @return int
*/
pub fn getLocationOid(self: CommentDO) -> int;

CommentDO::__all__

Data constraint method.

pub fn __all__(db: PythonDB) -> *CommentDO;

CommentDO::getText

/**
* @brief gets the text of this element.
* @return string
*/
pub fn getText(self: CommentDO) -> string;