0
내가 쉽게 결과를 조회 할
와 스키마영역-JS 중첩 된 객체
[{
name: 'john_doe',
info: {
age: 24,
notes: 'custom text',
phoneNumbers: {
home: 112345678,
work: 1234567,
},
},
}, {...}, {...}...]
... 등의 요청에 의한를 :
contacts.filtered("info.age = 24 AND info.notes CONTAINS 'custom'");
가 어떻게 같은 스키마를 작성해야합니까? 문서는 데이터 유형과 중첩 된 속성에 대한 매우 혼란 :
- https://realm.io/docs/react-native/0.14.0/api/Realm.html#~PropertyType
- https://realm.io/docs/react-native/latest/#nested-objects
내가 별도로 데이터의 부분을 검색 할 필요가 없습니다 - 단지 전체 개체를 모든 중첩 된 개체를 한 번에 .