简体   繁体   中英

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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM