Returns the unique identifier (UID) of the current account.
Syntax
get_user_id()
Parameters
None.
Return value
Returns the UID of the current account.
Example
select get_user_id();
Output:
+------------------+
| _c0 |
+------------------+
| 1117xxxxxxxx8519 |
+------------------+
Related functions
For other account-related and session functions, see Other functions.
该文章对您有帮助吗?