FileDataDO

/**
* @brief DO class: A file data.
*/

Primary key: oid: int

schema FileDataDO {
  @primary oid: int,
  file_id: int,
  type: int,
  content: string
}

FileDataDO::getType

/**
* @brief gets the type of this element.
* @return int
*/
pub fn getType(self: FileDataDO) -> int;

FileDataDO::getContent

/**
* @brief gets the content of this element.
* @return string
*/
pub fn getContent(self: FileDataDO) -> string;

FileDataDO::__all__

Data constraint method.

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

FileDataDO::getFileId

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