Hello Community,
I have couple of question about the DynamicSQL.
1. The %ObjectSelectMode is working perfectly in the DynamicSQL for the object property in direct query. However this is not supported for class query. Is there any way to resolve this / Get the object value for class query result.
2. What is the reason behind for a stored query prepared using %PrepareClassQuery() you must use the %Get("fieldname") method.
Class Samples.DB.NewClass1 Extends%Persistent
{
Property Address As NewClass3;ClassMethod TestQuery()
{
set statement = ##class(%SQL.Statement).%New()
set statement.%Obj.png)
.png)

.png)
.png)
