Does firebase datasnapshot download the data when we invoke getValue?How to isolate data by groups of users in firebaseHow can I find a node's children count without downloading the data in FirebaseFirebase - App developing - calculate the delta without generating a high data trafficFirebase query implementationObserve particular data sets of FirebaseIssue exporting large json data from firebase with CurlDataSnapshot Firebase: Getvalue return nullDataSnapshot getValue() in Firebase returns nullFirebase cloud functions query for large datasetWhat does a firebase index do under the hood?
What do you call someone whose unmarried partner has died?
Can I request a credit item be removed from my report as soon as it is paid in full?
Are the EVA suits used in the ISS and in the NBL same or different?
Can we rotate symbols in LaTeX? How should we make this diagram?
How do the Martian rebels defeat Earth when they're grossly outnumbered and outgunned?
Why do airports in the UK have so few runways?
Physical interpretation of complex numbers
Bash to check if directory exist. If not create with an array
"Chess is 90% tactics" - should a player focus more on tactics in order to improve?
Surfacing out of a sunken ship/submarine - Survival Tips
Implement the Max-Pooling operation from Convolutional Neural Networks
Why did Leia not want to tell Han the truth about Luke and herself?
Does the "Fade Away" UA ranger variant feature grant the effect of the Greater Invisibility spell?
Is it possible to keep cat litter on balcony during winter (down to -10°C)
Hole in PCB due to corrosive reaction?
Is it sportsmanlike to waste opponents' time by giving check at the end of the game?
Fake TL072/TL074 IC's - how does the economics of it work?
How do I find the unknown program enabled during Start-Up?
Why did the Bohr Model Successfully calculate some of the energy levels in hydrogen?
What on earth is this small wall-mounted computer?
Why are Democrats mostly focused on increasing healthcare spending, rarely mentioning any proposals for decreasing the costs of healthcare services?
Is it unsafe to remove one stud from a load bearing wall?
Well-known American figure with Roman numerals
What is the meaning of Text inside of AMS logo
Does firebase datasnapshot download the data when we invoke getValue?
How to isolate data by groups of users in firebaseHow can I find a node's children count without downloading the data in FirebaseFirebase - App developing - calculate the delta without generating a high data trafficFirebase query implementationObserve particular data sets of FirebaseIssue exporting large json data from firebase with CurlDataSnapshot Firebase: Getvalue return nullDataSnapshot getValue() in Firebase returns nullFirebase cloud functions query for large datasetWhat does a firebase index do under the hood?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Does firebase datasnapshot download the data when we invoke getValue
or does it behave more like a container that contains the whole tree structure referenced in database reference?
I need to perform an Or operation but according to the documentation that's not allowed. So I figured I would download the data I need from the narrowest node, and perform the filtering locally. The problem is that even then the data might eventually grow large if I have to download all of it and filter locally. So, if datasnapshot downloads the data when we invoke get value I could safely ignore the need to make a complex query to firebase.
firebase firebase-realtime-database
add a comment
|
Does firebase datasnapshot download the data when we invoke getValue
or does it behave more like a container that contains the whole tree structure referenced in database reference?
I need to perform an Or operation but according to the documentation that's not allowed. So I figured I would download the data I need from the narrowest node, and perform the filtering locally. The problem is that even then the data might eventually grow large if I have to download all of it and filter locally. So, if datasnapshot downloads the data when we invoke get value I could safely ignore the need to make a complex query to firebase.
firebase firebase-realtime-database
add a comment
|
Does firebase datasnapshot download the data when we invoke getValue
or does it behave more like a container that contains the whole tree structure referenced in database reference?
I need to perform an Or operation but according to the documentation that's not allowed. So I figured I would download the data I need from the narrowest node, and perform the filtering locally. The problem is that even then the data might eventually grow large if I have to download all of it and filter locally. So, if datasnapshot downloads the data when we invoke get value I could safely ignore the need to make a complex query to firebase.
firebase firebase-realtime-database
Does firebase datasnapshot download the data when we invoke getValue
or does it behave more like a container that contains the whole tree structure referenced in database reference?
I need to perform an Or operation but according to the documentation that's not allowed. So I figured I would download the data I need from the narrowest node, and perform the filtering locally. The problem is that even then the data might eventually grow large if I have to download all of it and filter locally. So, if datasnapshot downloads the data when we invoke get value I could safely ignore the need to make a complex query to firebase.
firebase firebase-realtime-database
firebase firebase-realtime-database
edited Mar 29 at 5:49
KENdi
6,2452 gold badges10 silver badges22 bronze badges
6,2452 gold badges10 silver badges22 bronze badges
asked Mar 28 at 21:55
vander ouanavander ouana
41 silver badge1 bronze badge
41 silver badge1 bronze badge
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
When you call getValue, then entire contents of the node is downloaded and becomes available. In that sense, there are no "shallow" queries exposed by the mobile client SDKs. (Though the REST API does support shallow queries that don't download all the child nodes.)
As you've identified, this can change the way that you might want to organize your data. Shallow data structures are typically preferred in Realtime Database for this reason.
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55407436%2fdoes-firebase-datasnapshot-download-the-data-when-we-invoke-getvalue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
When you call getValue, then entire contents of the node is downloaded and becomes available. In that sense, there are no "shallow" queries exposed by the mobile client SDKs. (Though the REST API does support shallow queries that don't download all the child nodes.)
As you've identified, this can change the way that you might want to organize your data. Shallow data structures are typically preferred in Realtime Database for this reason.
add a comment
|
When you call getValue, then entire contents of the node is downloaded and becomes available. In that sense, there are no "shallow" queries exposed by the mobile client SDKs. (Though the REST API does support shallow queries that don't download all the child nodes.)
As you've identified, this can change the way that you might want to organize your data. Shallow data structures are typically preferred in Realtime Database for this reason.
add a comment
|
When you call getValue, then entire contents of the node is downloaded and becomes available. In that sense, there are no "shallow" queries exposed by the mobile client SDKs. (Though the REST API does support shallow queries that don't download all the child nodes.)
As you've identified, this can change the way that you might want to organize your data. Shallow data structures are typically preferred in Realtime Database for this reason.
When you call getValue, then entire contents of the node is downloaded and becomes available. In that sense, there are no "shallow" queries exposed by the mobile client SDKs. (Though the REST API does support shallow queries that don't download all the child nodes.)
As you've identified, this can change the way that you might want to organize your data. Shallow data structures are typically preferred in Realtime Database for this reason.
answered Mar 28 at 22:00
Doug StevensonDoug Stevenson
117k13 gold badges143 silver badges165 bronze badges
117k13 gold badges143 silver badges165 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55407436%2fdoes-firebase-datasnapshot-download-the-data-when-we-invoke-getvalue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown