When you need to build a NoSQL solution for your application, considering a document-based database could be a winning solution. Sometimes you want to better organize your documents, and having a powerful query language that can perform queries in milliseconds. Firestore in Datastore mode perfectly suits this scenario.
Firestore in Datastore mode offers you the possibility to organize the documents leveraging ancestors. It means you can create hierarchies with documents, so you can better organize your documents avoiding having only flat documents. Firestore in Datastore mode also provides you GQL, a powerful SQL-like query language you can use to query the NoSQL database. Of course you can query the key of your documents, but if you need to query the properties, Firestore gives you the possibility to create indexes attached to them so query will be optimized.
In this lab, you will use Firestore in Datastore mode to create a NoSQL database, entities with hierarchic kinds and indexed properties, and you will finally perform some GQL queries.
Upon completion of this lab, you will be able to:
To get the most from this lab, you should be familiary with Firestore in Datastore mode. The following lab can be followed:
Stefano studies Computer Science and is passionate about technology. He loves working with Cloud services and learning all the best practices for them. Google Cloud Platform and Amazon Web Services are the cloud providers he prefers. He is a Google Cloud Certified Associate Cloud Engineer. Node.js is the programming language he always uses to code. When he's not involved in studying or working, Stefano loves riding his motorbike and exploring new places.