Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Indexes in Cache Objects

Question
Jenna Makin · Apr 15, 2018

Indexes in Cache Objects

Hi-

I have the following objects

Class A

   Property P1 As B

   Property P2 As %String

   Property P3 As %String

Class B

   Property P1 As %String

Can I create an index in Class A based on P1.P1.  Basically I want an index of class A by property P1 in class B

I tried creating the following but got a compile error

Index I1 On P1.P1

Thanks

#Indexing #Object Data Model #Caché

Source URL:https://community.intersystems.com/post/indexes-cache-objects