Cloud Firestore questions

60 views
Skip to first unread message

Constantine Vassilev

unread,
Jun 2, 2018, 7:41:11 PM6/2/18
to Firebase Google Group
I like Cloud Firestore database functionality.

I have the following questions:
1) Can it be pre populated from CSV?
2) Can it be used from AppEngine Golang?
3) Can it be used as web service backend with 2)

 

Tyler Rockwood

unread,
Jun 3, 2018, 6:44:02 PM6/3/18
to Firebase Google Group
Hello!

Each of your answers are below:

1) Can it be pre populated from CSV?

Currently there isn't a tool that can write data into Firestore from a CSV, you'll likely need to write some code yourself to change a CSV row into a document and write it to Firestore.

2) Can it be used from AppEngine Golang?

We have a Firestore Golang SDK, which gives you a great client to interact with via Golang.

See this page for more information: https://firebase.google.com/docs/firestore/quickstart

Note there is this warning from that page:

Cloud Firestore and App Engine: You can't use both Cloud Firestore and Cloud Datastore in the same project, which might affect apps using App Engine. Try using Cloud Firestore with a different project.

3) Can it be used as web service backend with 2)

Yes! You can directly write to Cloud Firestore from your webapp frontend or through a backend.

Hope that helps,

-Tyler

Constantine Vassilev

unread,
Jun 3, 2018, 8:34:17 PM6/3/18
to Firebase Google Group
I think Cloud Functions with Node.js now is better than Golang
will use Node.js.

Cloud Datastore has Document Index, does Cloud Firestore has this functionality?

With Document Index there is location search by lat/lng in radius.

Can I do the same with  Cloud Firestore? Or better call BigQuery table directly?

--Constantine
Reply all
Reply to author
Forward
0 new messages