File
/**
* A JavaScript / TypeScript file.
*/
Inherit from FileDO
Primary key: oid: int
schema File extends FileDO {
  @primary oid: int,
  name: string,
  extension: string,
  relative_path: string,
  location_oid: int
}
File::getExtension
- Parameter self:File
- Return string
pub fn getExtension(self: File) -> string;
File::getName
- Parameter self:File
- Return string
pub fn getName(self: File) -> string;
File::getLocationOid
- Parameter self:File
- Return int
pub fn getLocationOid(self: File) -> int;
File::__all__
Data constraint method.
- Parameter db:JavascriptDB
- Return *File
pub fn __all__(db: JavascriptDB) -> *File;
File::getRelativePath
- Parameter self:File
- Return string
pub fn getRelativePath(self: File) -> string;