Skip to content

Commit

Permalink
Merge pull request #48 from saishsali/update_readme
Browse files Browse the repository at this point in the history
Update readme for using query parameters with quoted values
  • Loading branch information
ktamas77 committed Jul 29, 2016
2 parents 677c117 + c3e4392 commit fbfeefe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ $firebase->push($path, $data); // push data to Firebase

$value = $firebase->get($path, array('shallow' => 'true'));

// -- Query Parameter values with quotes, example (https://firebase.google.com/docs/database/rest/retrieve-data#filtering-by-a-specified-child-key):

$value = $firebase->get($path, array('orderBy' => '"height"'));

// -- Firebase PHP Library commands

$firebase->setToken($token); // set up Firebase token
Expand Down

0 comments on commit fbfeefe

Please sign in to comment.