Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Firestore概要

 Firestore概要

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

Asuka Suzuki

January 26, 2018
Tweet

More Decks by Asuka Suzuki

Other Decks in Technology

Transcript

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

    Ξοϓσʔτ 'VODUJPOT ࿈ܞ ΫϥΠΞϯτଆϓϩάϥϜͱ%#ؒͰɺ௚઀3FBE8SJUF͢Δ "1*࣮૷ෆཁɺϦΞϧΨνͳαʔόʔϨε /PEFKT 'VODUJPOT
  2. ϧʔϧʹΑΔσʔλอޢ allow create: if request.auth.uid != null && request.resource.data.title is

    string && request.resource.data.title.size() <= 200; 8SJUFͷαϯϓϧϧʔϧ
  3. ϧʔϧʹΑΔσʔλอޢ allow create: if request.auth.uid != null && request.resource.data.title is

    string && request.resource.data.title.size() <= 200; 8SJUFͷαϯϓϧϧʔϧ ϩάΠϯ͍ͯ͠Δ͜ͱ ʢ'JSFCBTFͷೝূػೳͱ࿈ܞʣ UJUMF͸จࣈྻͰ͋Γɺ จࣈҎ಺Ͱ͋Δ͜ͱ
  4. 'VODUJPOTͱͷ࿈ܞ ✱ %#ͷมߋΠϕϯτ PO$SFBUF PO6QEBUF౳ Ͱɺ
 $MPVE'VODUJPOTͷؔ਺ΛΩοΫͰ͖Δɻ ✱ Ϣʔβͷ৽نొ࿥ PO$SFBUF

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