FileData
Inherit from FileDataDO
Primary key: oid: int
schema FileData extends FileDataDO {
@primary oid: int,
file_id: int,
type: int,
content: string
}
FileData::getType
/**
* @brief gets the type of this element.
* @return int
*/
- Parameter
self
:FileData
- Return
int
pub fn getType(self: FileData) -> int;
FileData::getContent
/**
* @brief gets the content of this element.
* @return string
*/
- Parameter
self
:FileData
- Return
string
pub fn getContent(self: FileData) -> string;
FileData::__all__
Data constraint method.
pub fn __all__(db: GoDB) -> *FileData;
FileData::getFileId
/**
* @brief gets the file id of this element.
* @return int
*/
- Parameter
self
:FileData
- Return
int
pub fn getFileId(self: FileData) -> int;
FileData::getFile
pub fn getFile(self: FileData) -> File;