อินเทอร์เฟซ: ทรัพยากร

พร็อพเพอร์ตี้

__ชื่อ__

rules.Path ที่ไม่เป็นค่าว่าง

ชื่อเต็มของเอกสารเป็นเส้นทาง

ตัวอย่าง

// Check 'name' field from the document
resource
['__name__'] == /databases/(default)/documents/collection/document

ข้อมูล

กฎที่ไม่เป็นค่าว่าง

แผนที่ของข้อมูลเอกสาร

ตัวอย่าง

// Check 'name' field from the document
resource
.data.name == 'John Doe'

id

rules.String ที่ไม่เป็นค่าว่าง

สตริงคีย์ของเอกสาร

ตัวอย่าง

resource['__name__'] ==
 
/databases/(default)/documents/collection/$(resource.id)

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

อัปเดตแล้ว Aug 21, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

อัปเดตแล้ว Aug 21, 2024