इंटरफ़ेस: संसाधन

प्रॉपर्टी

__नाम__

शून्य के अलावा नियम.पाथ

पाथ के तौर पर, दस्तावेज़ का पूरा नाम.

उदाहरण

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

डेटा

शून्य के अलावा नियम.Map

दस्तावेज़ के डेटा का मैप.

उदाहरण

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

id

शून्य के अलावा नियम.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 को अपडेट किया गया