Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

firebase realtime database get all data

$database->getReference('currencies')
    // order the reference's children by their key in ascending order
    ->shallow()
    ->getSnapshot()
    
//get child ref.
$database->getReference('currencies')->getChildKeys(); // returns an array of key names
Source by firebase-php.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #firebase #realtime #database #data
ADD COMMENT
Topic
Name
1+2 =