Firebird Realtime DBをストレージとしてAndroidアプリにチャット機能を追加しようとしています。IDを持つ複数の子供を1つのクエリで取得する方法
私のスキーマは、このようなもので、
conversation: {
conversation_id_generated_by_firebase: {
last_message: {
message: "hehe"
type: "text"
attachments: {0: "url", 1: "url"}
likes: {0: "uid1", 1: "uid2"}
created_at: 1245789898
},
messages: {
m1: {
message: "hehe"
type: "text"
attachments: {0: "url", 1: "url"}
likes: {0: "uid1", 1: "uid2"}
created_at: 1245789898
}, m2: {}, m3: {}, m4: {}
},
read_till: {
uid1: 14567894229
uid2: 14567894228
},
created_at: 1456789329
updated_at: 1456789429
},
}
は今、どのように私は1つのクエリ/コールでIDを持つ複数の会話を取得することができますか?