Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

CategoryName Query

Here's the code for the CategoryName query. The query should be part of the FilmCategory class.

—CategoryName—
CategoryName

Query CategoryName() As %Library.SQLQuery(CONTAINID = 1, ROWSPEC = 
"ID,CategoryName:%Library.String")
{
 SELECT ID, CategoryName
 FROM FilmCategory
 ORDER BY CategoryName
}
FeedbackOpens in a new tab