Skip to main content

%BI.BlogComment

persistent class %BI.BlogComment extends %Library.Persistent, %BI.Adaptor

SQL Table Name: %BI.BlogComment

Property Inventory

Properties

property DateTime as %String (TRUNCATE = 1);
Property methods: DateTimeDisplayToLogical(), DateTimeGet(), DateTimeGetStored(), DateTimeIsValid(), DateTimeLogicalToDisplay(), DateTimeLogicalToOdbc(), DateTimeNormalize(), DateTimeSet()
relationship Post as %BI.BlogPost [ Required , Inverse = Comment , Cardinality = parent ];
Property methods: PostGet(), PostGetObject(), PostGetObjectId(), PostGetStored(), PostGetSwizzled(), PostIsValid(), PostNewObject(), PostOnDelete(), PostRClose(), PostRExec(), PostRFetch(), PostRelate(), PostSQLCompute(), PostSet(), PostSetObject(), PostSetObjectId(), PostUnRelate(), PostUnSwizzle()
property PostMessage as %String (MAXLEN = 25000, TRUNCATE = 1);
Property methods: PostMessageDisplayToLogical(), PostMessageGet(), PostMessageGetStored(), PostMessageIsValid(), PostMessageLogicalToDisplay(), PostMessageLogicalToOdbc(), PostMessageNormalize(), PostMessageSet()
property UserName as %String (TRUNCATE = 1);
Property methods: UserNameDisplayToLogical(), UserNameGet(), UserNameGetStored(), UserNameIsValid(), UserNameLogicalToDisplay(), UserNameLogicalToOdbc(), UserNameNormalize(), UserNameSet()

Queries

query ByBlogPostId(blogPostId As %String)
SQL Query:
SELECT ID,DateTime,PostMessage,UserName,COUNT(*) AS TotalRow FROM BlogComment WHERE Post->ID = :blogPostId
query CommentQuery()
SQL Query:
SELECT ID,DateTime,PostMessage,UserName FROM BlogComment

Indexes

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (%BI.BlogComment)

{%%PARENT}("C")(ID)
=
%%CLASSNAME
DateTime
PostMessage
UserName
FeedbackOpens in a new tab