It is possible. You will need to override the %Get and %GetSerializedMetadata method of %SQL.CustomResultSet.
It gets a bit messy but works fine.
- Log in to post comments
It is possible. You will need to override the %Get and %GetSerializedMetadata method of %SQL.CustomResultSet.
It gets a bit messy but works fine.
You could use the %SYS.GlobalQuery NamespaceList query instead - there is a parameter to include/exclude system globals.
s rs=##class(%ResultSet).%New()
s rs.ClassName="%SYS.GlobalQuery"
s rs.QueryName="NameSpaceList"
s sc=rs.%Execute($namespace,"*",0)
Take a look at the Config.Namespaces class in the %SYS namespace.
It looks like the CopyMaps method should do the job.
Take a look in the Config.Namesaces class in the %SYS namespace.
It looks like the CopyMaps method should do the job.