Kyounghwan01 / blog-comment

blog 코멘트 링크 레포
0 stars 0 forks source link

blog/etc/firebase/ #33

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

firebase v9 문법 정리 | 기억보다 기록을

firebase v9 문법 정리, firebase, storage, real time database, firestore, hosting

https://kyounghwan01.github.io/blog/etc/firebase/

hatoruday commented 2 years ago

firebase를 공부하고 있는 초보입니다. query함수를 사용할때 혹시 어떤 레퍼런스에서 참고하였는지 여쭤봐도 될까요? 제가 찾아볼 수 있는 건 아래 주소의 쿼리클래스 뿐인데, collectionRef를 인자로 받고, where과 같은 쿼리 조건 문법에 대해서 찾아볼 수가 없었습니다. https://firebase.google.com/docs/reference/js/firestore_.query.md?authuser=0&hl=en#query_class

Kyounghwan01 commented 2 years ago

@hatoruday 안녕하세요! url 첨부드립니다 https://firebase.google.com/docs/firestore/query-data/queries#simple_queries

hatoruday commented 2 years ago

친절한 답변 감사합니다. 어떤식으로 사용하는지에 대해 덕분에 파악할 수 있었습니다. 그런데 한가지 의문이 드는건 레퍼런스에서 쿼리 클래스 생성자에 어떤 인자를 받아서 쿼리를 만드는지와 조건문법에 관해 설명을 써놓았으면 됐을텐데 저렇게 따로 설명하는 이유가 뭔지 모르겠네요.. query.(constructor)()이면 생성할때 어떤 인자도 빋지 않는다는 뜻이라고 생각했는데 저렇게 따로 써놓는 이유가 있을까요?

viewee22 commented 1 year ago

많은 도움이 되었습니다 감사합니다!!