table_permission = view_table_permission("table_name", "database_name")
Result:
This method returns a Dictionary containing user privilege information.
Parameter description:
Parameters | Description | Required |
---|---|---|
table_name (str) | Table to check privilege | Yes |
database_name | Database where the table is located | No, defaults to "default" database |