I'm creating an app with React native and Amplify datastore. I read in documents that all the data would be downloaded on users devices for auto syncing.
My question is that, if I have a million users in my table, all the data would be downloaded on users device?? If with some configurations, I prevent downloading these data, am I able to search a user in my table? I'm not really sure if all the queries are done through the local storage/db or there are done in the backend with datastore?