Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How use basic query #5

Open
alejandri opened this issue Aug 7, 2018 · 0 comments
Open

How use basic query #5

alejandri opened this issue Aug 7, 2018 · 0 comments

Comments

@alejandri
Copy link

alejandri commented Aug 7, 2018

Hi thans for this project; I can installed and retrieve items from Database realtime

$firebase = new \Geckob\Firebase\Firebase(storage_path("file.json"));
$firebase->setPath('items/');
$items= $firebase->get('');
 $collection = collect(json_decode($items));

      // printing like this
      element1
      +"client_id": 32306296
      +"date": " 2018-10-10 20:00"
       element2
      +"client_id": 18774789
      +"date": " 2018-10-10 20:00"
     

Now how i can filter client_id this collection?
Using: equalTo(32306296) ->startAt('a')->endAt('d') maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant