Firestore概要

 Firestore概要

社内勉強会の資料です(5分LT)。

A142614d6ffed4c65ac5b8eaa7cd3f3b?s=128

Asuka Suzuki

January 26, 2018
Tweet

Transcript

  1. 3.

    $MPVE'VODUJPOT $MPVE'JSFTUPSFͱ͸ #BDLFOE 'SPOUFOE $MPVE'JSFTUPSF 'JSFCBTF4%, +BWBTDSJQU ηΩϡϦςΟ ϧʔϧ ϦΞϧλΠϜ

    Ξοϓσʔτ 'VODUJPOT ࿈ܞ ΫϥΠΞϯτଆϓϩάϥϜͱ%#ؒͰɺ௚઀3FBE8SJUF͢Δ "1*࣮૷ෆཁɺϦΞϧΨνͳαʔόʔϨε /PEFKT 'VODUJPOT
  2. 5.

    ϧʔϧʹΑΔσʔλอޢ allow create: if request.auth.uid != null && request.resource.data.title is

    string && request.resource.data.title.size() <= 200; 8SJUFͷαϯϓϧϧʔϧ
  3. 6.

    ϧʔϧʹΑΔσʔλอޢ allow create: if request.auth.uid != null && request.resource.data.title is

    string && request.resource.data.title.size() <= 200; 8SJUFͷαϯϓϧϧʔϧ ϩάΠϯ͍ͯ͠Δ͜ͱ ʢ'JSFCBTFͷೝূػೳͱ࿈ܞʣ UJUMF͸จࣈྻͰ͋Γɺ จࣈҎ಺Ͱ͋Δ͜ͱ
  4. 8.

    'VODUJPOTͱͷ࿈ܞ ✱ %#ͷมߋΠϕϯτ PO$SFBUF PO6QEBUF౳ Ͱɺ
 $MPVE'VODUJPOTͷؔ਺ΛΩοΫͰ͖Δɻ ✱ Ϣʔβͷ৽نొ࿥ PO$SFBUF

    ΛτϦΨʔʹ4MBDLͰ௨஌ͨ͠Γ΋Մೳɻ ✱ ศར͚ͩͲো֐͕ଟͯ͘ɺΑ͘ࢭ·Δ ·ͩϕʔλ ɻ
 ࠷ѱࣦഊͯ͠΋େৎ෉ͳॲཧ͚ͩ΍ΒͤΔͷ͕ྑ͍ɻ ✱ ճͷτϦΨʔͰෳ਺ճΩοΫ͞ΕΔ͜ͱ͕͋ΔͷͰɺ·ͩա৴͸ې෺ɻ
  5. 9.