This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?


persistent class %BI.Blog extends %Library.Persistent, %XML.Adaptor

SQL Table Name: %BI.Blog

Property Inventory


property Folder as %String (TRUNCATE = 1);
Property methods: FolderDisplayToLogical(), FolderGet(), FolderGetStored(), FolderIsValid(), FolderLogicalToDisplay(), FolderLogicalToOdbc(), FolderNormalize(), FolderSet()
property Owner as %String (TRUNCATE = 1);
Property methods: OwnerDisplayToLogical(), OwnerGet(), OwnerGetStored(), OwnerIsValid(), OwnerLogicalToDisplay(), OwnerLogicalToOdbc(), OwnerNormalize(), OwnerSet()
relationship Post as array of %BI.BlogPost [ InitialExpression = $listbuild("%BI.BlogPost","Blog",+$this,"children",1,1) , Transient , Inverse = Blog , Cardinality = children ];
Property methods: PostGet(), PostGetObject(), PostGetObjectId(), PostGetSwizzled(), PostIsEmpty(), PostIsValid(), PostNewObject(), PostRClose(), PostRExec(), PostRFetch(), PostRelate(), PostSQLCompute(), PostSet(), PostUnRelate()
property Title as %String (MAXLEN = 250, TRUNCATE = 1);
Property methods: TitleDisplayToLogical(), TitleGet(), TitleGetStored(), TitleIsValid(), TitleLogicalToDisplay(), TitleLogicalToOdbc(), TitleNormalize(), TitleSet()
property Users as array of %String (TRUNCATE = 1);
Property methods: UsersBuildValueArray(), UsersCollectionToDisplay(), UsersCollectionToOdbc(), UsersDisplayToCollection(), UsersDisplayToLogical(), UsersGet(), UsersGetObject(), UsersGetObjectId(), UsersGetStored(), UsersGetSwizzled(), UsersIsValid(), UsersLogicalToDisplay(), UsersLogicalToOdbc(), UsersNormalize(), UsersOdbcToCollection(), UsersSet(), UsersSetObject(), UsersSetObjectId()


query BlogAll()
SQL Query:
SELECT ID,Title,Folder FROM Blog
query BlogFolder(folder)
SQL Query:
SELECT ID,Title FROM Blog where (Folder = :folder) ORDER BY Title
query ByTitle(Title)
SQL Query:
SELECT Title FROM Blog WHERE (Title = :Title) ORDER BY Title


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

Inherited Members

Inherited Methods


Storage Model: CacheStorage (%BI.Blog)


Storage Model: CacheStorage (%BI.Blog)