CommentGroupDO

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

Primary key: oid: int

schema CommentGroupDO {
  @primary oid: int,
  file_id: int,
  parent: int,
  idx: int
}

CommentGroupDO::getParent

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

CommentGroupDO::getIdx

/**
* @brief gets the idx of this element.
* @return int
*/
pub fn getIdx(self: CommentGroupDO) -> int;

CommentGroupDO::__all__

Data constraint method.

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

CommentGroupDO::getFileId

/**
* @brief gets the file id of this element.
* @return int
*/
pub fn getFileId(self: CommentGroupDO) -> int;