Comment

/**
* A Comment.
*/

Inherit from CommentDO

Primary key: oid: int

schema Comment extends CommentDO {
  @primary oid: int,
  kind: int,
  location_oid: int
}

Comment::getKind

  • Parameter self: Comment
  • Return int
pub fn getKind(self: Comment) -> int;

Comment::getLocationOid

  • Parameter self: Comment
  • Return int
pub fn getLocationOid(self: Comment) -> int;

Comment::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *Comment;

Comment::getLocation

/**
* Gets the location of the Comment.
*
* @return Location
*/
pub fn getLocation(self: Comment) -> Location;