Firebase/Cloud Firestore 2

Cloud Firestore 데이터 모델

Cloud Firestore 데이터 모델 Cloud Firestore는 NoSQL 문서 중심의 데이터베이스다. SQL 데이터베이스와 달리 테이블이나 행이 없으며, 컬렉션으로 정리되는 문서에 데이터를 저장한다. 각 문서에는 키-값 쌍이 들어 있다. Cloud Firestore는 작은 문서가 많이 모인 컬렉션을 저장하는 데 최적화되어 있다. 모든 문서는 컬렉션에 저장되어야 한다. 문서는 하위 컬렉션 및 중첩 객체를 포함할 수 있으며, 둘 다 문자열 같은 기본형 필드나 목록 같은 복합 객체를 포함할 수 있다. 컬렉션과 문서는 Cloud Firestore에서 암시적으로 생성된다. 사용자는 컬렉션 내의 문서에 데이터를 할당하기만 하면 된다. 컬렉션 또는 문서가 없으면 Cloud Firestore에서 자동으로 생성..

Cloud Firestore 시작하기

Realtime updates, powerful queries, and automatic scaling | 실시간 업데이트, 강력한 쿼리 및 자동 확장 Get started with Cloud Firestore | Cloud Firestore 시작하기 This quickstart shows you how to set up Cloud Firestore, add data, then view the data you just added in the Firebase console. 여기 둘러보기에서는 Cloud Firestore를 설정하고 데이터를 추가한 다음 Firebase 콘솔에서 방금 추가한 데이터를 보는 방법을 보여준다. Create a Cloud Firestore database | Create a Cl..