Home > OS >  Why is the select() function not available in Flutter's cloud_firestore package?
Why is the select() function not available in Flutter's cloud_firestore package?

Time:02-08

This question might be more targeted for the FlutterFirebase team.

When looking at the API documentation for the Firestore, we see that there is a function inside of the Query class called select() (See the documentation here). However this function is not available in the cloud_firestore package. Is there any reasons why it has not been made available for the Flutter package?

I am guessing that we could work around and call the API directly instead of going through the package but that wouldn't be optimal.

CodePudding user response:

The select() is a function in the Admin SDK, so on the server side. The cloud_firestore package is done to be used in the client side, it can be compared to Javascript Firebase client SDK which also doesn't have the select() function.

  •  Tags:  
  • Related