Open in app

Sign In

Write

Sign In

Renaud Tarnec
Renaud Tarnec

229 Followers

Home

About

Published in

Firebase Tips & Tricks

·Pinned

How to configure the “Export Collections to BigQuery” extension and use SQL “full” power on your Firestore data

Few months ago, Firebase published an Extension that allows exporting the documents in a Cloud Firestore collection to BigQuery, the serverless, highly scalable, enterprise data warehouse offered by Google Cloud. Being able to export your Firestore data to BigQuery opens many possibilities in terms of data transformation, analysis, visualization, and…

Firebase

8 min read

How to configure the “Export Collections to BigQuery” extension and use SQL “full” power on your…
How to configure the “Export Collections to BigQuery” extension and use SQL “full” power on your…
Firebase

8 min read


Published in

Firebase Developers

·Pinned

How to Create an Image Translation Web App in 25 Lines of Code

Adding Google Cloud Machine Learning capabilities to a web application — In this article, I will demonstrate how you can quickly develop a web application that “OCRises” an image and translates the resulting text by mixing and matching different Firebase and Google Cloud services: Cloud Functions, Firebase Extensions and Vision API. Also, I will show how the core business logic of…

Firebase Cloud Functions

8 min read

How to Create an Image Translation Web App in 25 Lines of Code
How to Create an Image Translation Web App in 25 Lines of Code
Firebase Cloud Functions

8 min read


Published in

Firebase Tips & Tricks

·Pinned

How to create a logical OR query in Cloud Firestore with the JavaScript SDK?

With Cloud Firestore, we can combine multiple where() methods to create logical AND queries. These queries are called compound queries in the documentation. However, as indicated in the documentation (Section “Query Limitations”): Cloud Firestore does not support the following types of queries: - … - Logical OR queries. In this case, you…

Firebase

2 min read

Firebase

2 min read


Published in

Firebase Tips & Tricks

·Jan 7

How to define the CollectionReference of a subcollection with the JS SDK V9?

I often see some questions on StackOverflow on how to define the CollectionReference corresponding to a subcollection, when using the JavaScript SDK Version 9. IMO, the main reason for questions on this subject is that the official Firebase documentation does not show any example (at the time of writing this…

Firebase

1 min read

Firebase

1 min read


Published in

Firebase Tips & Tricks

·Jan 8, 2021

How to create Firestore security rules based on User Groups defined in Firestore documents

I’ve just answered an interesting question on Stack Overflow that we can summarized as follows: We have a Firestore collection named docs. For each document of this collection, the read access right shall be granted to specific users group, depending on the document. The users groups shall be defined in…

Firebase

3 min read

How to create Firestore security rules based on User Groups defined in Firestore documents
How to create Firestore security rules based on User Groups defined in Firestore documents
Firebase

3 min read


Published in

Firebase Tips & Tricks

·Feb 7, 2020

How to simulate a COUNT/GROUP BY aggregation with the Realtime Database

Quite often in a application you need to aggregate data and order the results of this aggregation. For example, let’s imagine a Restaurant Reviews App where you want to display the Top 3 restaurants in terms of number of reviews. In the SQL world, this is quite easy to accomplish…

JavaScript

3 min read

How to simulate a COUNT/GROUP BY aggregation with the Realtime Database
How to simulate a COUNT/GROUP BY aggregation with the Realtime Database
JavaScript

3 min read


Published in

Firebase Tips & Tricks

·Dec 12, 2019

How to create an Admin module for managing Firebase users access and roles

TL;DR: In this article we share and explain the code for building a module which allows Firebase end-users with a specific Admin role creating other users and assigning them other specific user roles. This solution can be applied to Web, Android, iOS and Flutter apps built with Firebase. Most applications…

JavaScript

10 min read

How to create an Admin module for managing users access and roles
How to create an Admin module for managing users access and roles
JavaScript

10 min read


Published in

Firebase Tips & Tricks

·Oct 24, 2019

How to list all subcollections of a Cloud Firestore document?

As detailed in the Cloud Firestore documentation, data in Firestore is stored into documents, which are “organized into collections”. Documents can contain subcollections which, in turn, can contains documents. The documentation also indicates that: Documents in subcollections can contain subcollections as well, allowing you to further nest data. You can…

JavaScript

6 min read

How to list all subcollections of a Cloud Firestore document?
How to list all subcollections of a Cloud Firestore document?
JavaScript

6 min read

Renaud Tarnec

Renaud Tarnec

229 Followers

Google Developer Expert for Firebase / Full-Stack web application Dev & Architect

Following
  • Jérémy Dessalines

    Jérémy Dessalines

  • Romin Irani

    Romin Irani

  • Amit Shekhar

    Amit Shekhar

  • David Dal Busco

    David Dal Busco

  • Bret Cameron

    Bret Cameron

See all (167)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams