我将用户的权限保存在数据库中作为表数组
user user_right (varchar 255)
1 ["write","delete"]
2 ["write","delete","update"]
3 ["add","write","delete"]
4 ["write"]
我想知道如何列出user_right
列中的数据吗?
select ... from users where id = 1
有一个看起来像这样的列表
write
delete