Created by = current user's email

Hi all, new user, I’ve scoured the forums, tutorials, etc. and am still stuck. I have a database table for “Businesses” and a table for “Users” (created by bubble), and I’m trying to pull the business records equal to the current user who’s logged in. It should be a one-to-one relationship and I have created (on my logged in account) a business that should pull back that data. However, I keep getting this red error in the “Created by = Current user’s email” statement (see images).

What am I missing?

Just use created by = current user

Your business’ created by field is a user data type so you need to just reference to the current user.

The current user’s email is a text. That’s why you’re getting an error

1 Like

Thanks so much @ntabs!

1 Like