Website.set_current_user_data#
- Website.set_current_user_data(key, value)#
Sets data specific to the currently signed in user in the database.
Warning
Currently, if you are using SQL database, you can only set data that was already added as a column in the users table.
- Parameters:
key (str) – The key (name) of the data. For example: “username”, “email”, “age”, etc.
value (Any) – The value of the data.
- Returns:
Trueif the data is set, andFalseif it is not set.- Return type:
bool