Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ShowTimes クエリ

ShowTimes クエリを Cinema.ShowOpens in a new tab クラスに追加します。ShowTimes クエリには Show クラスの ID プロパティと StartTime プロパティ、Theater クラスの TheaterName プロパティが含まれます。1 つの映画だけの上映時間情報が必要なので、クエリ内のパラメータを使用して、特定の Film オブジェクトに対する情報を選択します。また、その結果を映画の上映開始時間の順に並べ替えます。その映画が同じ時刻に複数の映画館で上映されている場合は、映画館の名前の順に並べ替えます。

それでは、クエリを生成しましょう。

FeedbackOpens in a new tab