Description Usage Arguments Value
A signed-in user, by definition, has a Firebase ID. Because the ID was registered as a unique 'user_id' when the account was created, we can look it up in the user table and return its user (and username)
1 | db_user_id_from_firebase(con, firebase_id)
|
con |
valid database connection |
firebase_id |
valid firebase ID for a signed in user |
numeric user_id; NA if no user exists or if the table is not in the database
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.